]> granicus.if.org Git - vim/commitdiff
patch 8.0.0722: screen is messed by timer up at inputlist() prompt v8.0.0722
authorBram Moolenaar <Bram@vim.org>
Sun, 16 Jul 2017 13:48:46 +0000 (15:48 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 16 Jul 2017 13:48:46 +0000 (15:48 +0200)
Problem:    Screen is messed by timer up at inputlist() prompt.
Solution:   Set state to ASKMORE. (closes #1843)

src/misc1.c
src/version.c

index 7c2f26cfe4d0b3b684c402bc7d79081237cf3403..4f33015a794a96348954d8c023c6a67dfb5c42b3 100644 (file)
@@ -3592,7 +3592,7 @@ prompt_for_number(int *mouse_used)
     save_cmdline_row = cmdline_row;
     cmdline_row = 0;
     save_State = State;
-    State = CMDLINE;
+    State = ASKMORE;   /* prevents a screen update when using a timer */
 
     i = get_number(TRUE, mouse_used);
     if (KeyTyped)
index 906e3fa97e242d45185cb0220f21911fdcb48b8b..91e6deda040fbfa1f13f04d0be54017d014bf373 100644 (file)
@@ -769,6 +769,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    722,
 /**/
     721,
 /**/