mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06: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:
parent
2fefb5e7d3
commit
2b9f11ac64
@ -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);
|
||||
|
||||
|
@ -296,7 +296,7 @@ static int included_patches[] = {
|
||||
444,
|
||||
//443,
|
||||
442,
|
||||
//441,
|
||||
441,
|
||||
440,
|
||||
439,
|
||||
//438,
|
||||
|
Loading…
Reference in New Issue
Block a user