From fe6e4b3244c8e42af2fb74e5ee73392a2e16480d Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sun, 5 Aug 2018 17:19:13 -0400 Subject: [PATCH] vim-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 vim/vim#1843) https://github.com/vim/vim/commit/c9041079a199d753e73d3b242f21cc8db620179a --- src/nvim/misc1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c index da2d8f4e7c..8d23224478 100644 --- a/src/nvim/misc1.c +++ b/src/nvim/misc1.c @@ -2479,7 +2479,7 @@ int 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) {