summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-06-09 15:57:37 +0200
committerBram Moolenaar <Bram@vim.org>2020-06-09 15:57:37 +0200
commita45551a53557dba98973fdb3ff737dea2fffcda3 (patch)
treea34164c3e0a464ef9efd194068149e054a2045cf /src/main.c
parent077a1e670ad69ef4cefc22103ca6635bd269e764 (diff)
downloadvim-git-a45551a53557dba98973fdb3ff737dea2fffcda3.tar.gz
patch 8.2.0936: some terminals misinterpret the code for getting cursor stylev8.2.0936
Problem: Some terminals misinterpret the code for getting cursor style. Solution: Send a sequence to the terminal and check the result. (IWAMOTO Kouichi, closes #2126) Merged with current code.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index d66cd0c88..f686a5fb5 100644
--- a/src/main.c
+++ b/src/main.c
@@ -793,7 +793,7 @@ vim_main2(void)
#if defined(FEAT_TERMRESPONSE)
// Must be done before redrawing, puts a few characters on the screen.
- may_req_ambiguous_char_width();
+ check_terminal_behavior();
#endif
RedrawingDisabled = 0;