mirror of
https://github.com/neovim/neovim.git
synced 2025-01-01 17:23:36 -07:00
vim-patch:8.2.2548: May get stuck in the cmdline window using :normal
Problem: May get stuck in the cmdline window using :normal.
Solution: Have nv_esc() return K_IGNORE.
7d41410a45
This commit is contained in:
parent
9b5e3ba32d
commit
ceed85ea43
@ -7574,6 +7574,12 @@ static void nv_esc(cmdarg_T *cap)
|
|||||||
got_int = false; /* don't stop executing autocommands et al. */
|
got_int = false; /* don't stop executing autocommands et al. */
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
} else if (cmdwin_type != 0 && ex_normal_busy) {
|
||||||
|
// When :normal runs out of characters while in the command line window
|
||||||
|
// vgetorpeek() will return ESC. Exit the cmdline window to break the
|
||||||
|
// loop.
|
||||||
|
cmdwin_result = K_IGNORE;
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (VIsual_active) {
|
if (VIsual_active) {
|
||||||
|
Loading…
Reference in New Issue
Block a user