aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/misc1.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-08-05 17:19:13 -0400
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-08-05 17:20:09 -0400
commitfe6e4b3244c8e42af2fb74e5ee73392a2e16480d (patch)
treeed77edba8f83136b625e2f868d084912a26f47c0 /src/nvim/misc1.c
parent2b8792e303b4a5243b8a19a27cd1bd8885341b38 (diff)
downloadrneovim-fe6e4b3244c8e42af2fb74e5ee73392a2e16480d.tar.gz
rneovim-fe6e4b3244c8e42af2fb74e5ee73392a2e16480d.tar.bz2
rneovim-fe6e4b3244c8e42af2fb74e5ee73392a2e16480d.zip
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
Diffstat (limited to 'src/nvim/misc1.c')
-rw-r--r--src/nvim/misc1.c2
1 files changed, 1 insertions, 1 deletions
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) {