mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 22:18:33 +00:00
vim-patch:9.0.0051: using CTRL-C wih :append may hang Vim
Problem: Using CTRL-C wih :append may hang Vim.
Solution: Reset got_int. (closes vim/vim#10729, closes vim/vim#10728)
f754fe6a3d
This commit is contained in:
@@ -1006,6 +1006,8 @@ static int command_line_check(VimState *state)
|
||||
// that occurs while typing a command should
|
||||
// cause the command not to be executed.
|
||||
|
||||
got_int = false; // avoid infinite Ctrl-C loop in Ex mode
|
||||
|
||||
cursorcmd(); // set the cursor on the right spot
|
||||
ui_cursor_shape();
|
||||
return 1;
|
||||
|
Reference in New Issue
Block a user