mirror of
https://github.com/vim/vim.git
synced 2025-09-28 04:24:06 -04:00
updated for version 7.0049
This commit is contained in:
@@ -996,8 +996,13 @@ getcmdline(firstc, count, indent)
|
||||
|
||||
case ESC: /* get here if p_wc != ESC or when ESC typed twice */
|
||||
case Ctrl_C:
|
||||
/* In exmode it doesn't make sense to return. */
|
||||
if (exmode_active)
|
||||
/* In exmode it doesn't make sense to return. Except when
|
||||
* ":normal" runs out of characters. */
|
||||
if (exmode_active
|
||||
#ifdef FEAT_EX_EXTRA
|
||||
&& (ex_normal_busy == 0 || typebuf.tb_len > 0)
|
||||
#endif
|
||||
)
|
||||
goto cmdline_not_changed;
|
||||
|
||||
gotesc = TRUE; /* will free ccline.cmdbuff after
|
||||
|
Reference in New Issue
Block a user