0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

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)
This commit is contained in:
Bram Moolenaar
2013-03-13 19:29:28 +01:00
parent a390bb6ad3
commit 9584b31aae
6 changed files with 100 additions and 12 deletions

View File

@@ -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 */