diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-06-25 17:03:36 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-06-25 17:03:36 +0200 |
commit | b5c3265521749fda81ae4b052de35a0d1209cf50 (patch) | |
tree | c4e09817745505a3e66db6f65a72fa5cf63f4708 /src/main.c | |
parent | 367fbf17dad7bfb65cef8a4a18147989516218f2 (diff) |
patch 7.4.757v7.4.757
Problem: Cannot detect the background color of a terminal.
Solution: Add T_RBG to request the background color if possible. (Lubomir
Rintel)
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index d20c4b0958..d9202c2e56 100644 --- a/src/main.c +++ b/src/main.c @@ -837,8 +837,11 @@ 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) +#if defined(FEAT_TERMRESPONSE) +# if defined(FEAT_MBYTE) may_req_ambiguous_char_width(); +# endif + may_req_bg_color(); #endif #ifdef FEAT_MOUSE |