mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 07:48:18 +00:00
vim-patch:7.4.441
Problem: Endless loop and other problems when 'cedit' is set to CTRL-C. Solution: Do not call ex_window() when ex_normal_busy or got_int was set. (Yasuhiro Matsumoto) https://code.google.com/p/vim/source/detail?r=v7-4-441
This commit is contained in:
@@ -627,11 +627,13 @@ getcmdline (
|
||||
}
|
||||
|
||||
if (c == cedit_key || c == K_CMDWIN) {
|
||||
/*
|
||||
* Open a window to edit the command line (and history).
|
||||
*/
|
||||
c = ex_window();
|
||||
some_key_typed = TRUE;
|
||||
if (ex_normal_busy == 0 && got_int == FALSE) {
|
||||
/*
|
||||
* Open a window to edit the command line (and history).
|
||||
*/
|
||||
c = ex_window();
|
||||
some_key_typed = TRUE;
|
||||
}
|
||||
} else
|
||||
c = do_digraph(c);
|
||||
|
||||
|
Reference in New Issue
Block a user