changeset 11678:6bbc7bc0f3dd v8.0.0722

patch 8.0.0722: screen is messed by timer up at inputlist() prompt commit https://github.com/vim/vim/commit/c9041079a199d753e73d3b242f21cc8db620179a Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 16 15:48:46 2017 +0200 patch 8.0.0722: screen is messed by timer up at inputlist() prompt Problem: Screen is messed by timer up at inputlist() prompt. Solution: Set state to ASKMORE. (closes https://github.com/vim/vim/issues/1843)
author Christian Brabandt <cb@256bit.org>
date Sun, 16 Jul 2017 16:00:04 +0200
parents fabb9a620b68
children 4b93af584cd5
files src/misc1.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -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)
--- a/src/version.c
+++ b/src/version.c
@@ -770,6 +770,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    722,
+/**/
     721,
 /**/
     720,