mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
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)
c9041079a1
This commit is contained in:
@@ -2479,7 +2479,7 @@ int prompt_for_number(int *mouse_used)
|
|||||||
save_cmdline_row = cmdline_row;
|
save_cmdline_row = cmdline_row;
|
||||||
cmdline_row = 0;
|
cmdline_row = 0;
|
||||||
save_State = State;
|
save_State = State;
|
||||||
State = CMDLINE;
|
State = ASKMORE; // prevents a screen update when using a timer
|
||||||
|
|
||||||
i = get_number(TRUE, mouse_used);
|
i = get_number(TRUE, mouse_used);
|
||||||
if (KeyTyped) {
|
if (KeyTyped) {
|
||||||
|
Reference in New Issue
Block a user