summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/main.c b/src/main.c
index 6d59b09ba..883c9cc23 100644
--- a/src/main.c
+++ b/src/main.c
@@ -666,12 +666,6 @@ vim_main2(void)
starttermcap(); /* start termcap if not done by wait_return() */
TIME_MSG("start termcap");
-#if defined(FEAT_TERMRESPONSE)
-# if defined(FEAT_MBYTE)
- may_req_ambiguous_char_width();
-# endif
- may_req_bg_color();
-#endif
#ifdef FEAT_MOUSE
setmouse(); /* may start using the mouse */
@@ -801,6 +795,11 @@ vim_main2(void)
/* Requesting the termresponse is postponed until here, so that a "-c q"
* argument doesn't make it appear in the shell Vim was started from. */
may_req_termresponse();
+
+# if defined(FEAT_MBYTE)
+ may_req_ambiguous_char_width();
+# endif
+ may_req_bg_color();
#endif
/* start in insert mode */