summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-03-13 19:29:28 +0100
committerBram Moolenaar <Bram@vim.org>2013-03-13 19:29:28 +0100
commit9584b31aae31d8b031243eab75e26fbaa1755a1f (patch)
tree61c43cbac481a5bc910ccc7b2a55a4be3757fe6b /src/main.c
parenta390bb6ad307115c5893788f8f7e1ba5576800e0 (diff)
downloadvim-git-9584b31aae31d8b031243eab75e26fbaa1755a1f.tar.gz
updated for version 7.3.859v7.3.859
Problem: 'ambiwidth' must be set by the user. Solution: Detects East Asian ambiguous width (UAX #11) state of the terminal at the start-up time and 'ambiwidth' accordingly. (Hayaki Saito)
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 6581ba939..ef4893458 100644
--- a/src/main.c
+++ b/src/main.c
@@ -804,6 +804,9 @@ vim_main2(int argc UNUSED, char **argv UNUSED)
starttermcap(); /* start termcap if not done by wait_return() */
TIME_MSG("start termcap");
+#if defined(FEAT_TERMRESPONSE) && defined(FEAT_MBYTE)
+ may_req_ambiguous_character_width();
+#endif
#ifdef FEAT_MOUSE
setmouse(); /* may start using the mouse */