diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-11-06 00:41:49 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-11-09 09:58:32 -0500 |
commit | 697b0d73a768da578b53d890300091fabceeeee0 (patch) | |
tree | ae7a30506c2bde1d512d81825f73d964ec7f40fa | |
parent | b8a56e0986c92f09b5a98003065630fd4c1bb48d (diff) | |
download | rneovim-697b0d73a768da578b53d890300091fabceeeee0.tar.gz rneovim-697b0d73a768da578b53d890300091fabceeeee0.tar.bz2 rneovim-697b0d73a768da578b53d890300091fabceeeee0.zip |
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)
https://github.com/vim/vim/commit/dc968e7a45c672a81148628b755c2a440a228ad7
-rw-r--r-- | src/nvim/misc1.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c index 1db8a1fa11..c1de7ab9a4 100644 --- a/src/nvim/misc1.c +++ b/src/nvim/misc1.c @@ -792,6 +792,8 @@ int prompt_for_number(int *mouse_used) cmdline_row = msg_row - 1; } need_wait_return = false; + msg_didany = false; + msg_didout = false; } else { cmdline_row = save_cmdline_row; } |