patch 8.0.0629: checking for ambigous width is not working
Problem: Checking for ambigous width is not working. (Hirohito Higashi)
Solution: Reset "starting" earlier.
diff --git a/src/main.c b/src/main.c
index 0c7aa98..e30701c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -792,6 +792,9 @@
if (params.n_commands > 0)
exe_commands(¶ms);
+ /* Must come before the may_req_ calls. */
+ starting = 0;
+
#if defined(FEAT_TERMRESPONSE) && defined(FEAT_MBYTE)
/* Must be done before redrawing, puts a few characters on the screen. */
may_req_ambiguous_char_width();
@@ -800,7 +803,6 @@
RedrawingDisabled = 0;
redraw_all_later(NOT_VALID);
no_wait_return = FALSE;
- starting = 0;
/* 'autochdir' has been postponed */
DO_AUTOCHDIR