diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-03-13 19:29:28 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-03-13 19:29:28 +0100 |
commit | 9584b31aae31d8b031243eab75e26fbaa1755a1f (patch) | |
tree | 61c43cbac481a5bc910ccc7b2a55a4be3757fe6b /src/main.c | |
parent | a390bb6ad307115c5893788f8f7e1ba5576800e0 (diff) | |
download | vim-9584b31aae31d8b031243eab75e26fbaa1755a1f.zip |
updated for version 7.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.c | 3 |
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 */ |