vim-patch:8.1.2258: may get hit-enter prompt after entering a number

Problem:    May get hit-enter prompt after entering a number. (Malcolm Rowe)
Solution:   Put back accidentally deleted lines. (closes vim/vim#5176)
dc968e7a45
This commit is contained in:
Jan Edmund Lazo 2019-11-06 00:41:49 -05:00
parent b8a56e0986
commit 697b0d73a7
No known key found for this signature in database
GPG Key ID: 64915E6E9F735B15

View File

@ -792,6 +792,8 @@ int prompt_for_number(int *mouse_used)
cmdline_row = msg_row - 1; cmdline_row = msg_row - 1;
} }
need_wait_return = false; need_wait_return = false;
msg_didany = false;
msg_didout = false;
} else { } else {
cmdline_row = save_cmdline_row; cmdline_row = save_cmdline_row;
} }