diff options
author | vimboss <devnull@localhost> | 2005-02-07 22:01:03 +0000 |
---|---|---|
committer | vimboss <devnull@localhost> | 2005-02-07 22:01:03 +0000 |
commit | abe6778205f866b3780b5015083245063be84be5 (patch) | |
tree | e29d1348de49aa33b8423ed2290002e39c7a0d1c /src/ex_getln.c | |
parent | 8eb11693b6d2865a6fb7b3434bd88208b2a0bcda (diff) | |
download | vim-abe6778205f866b3780b5015083245063be84be5.tar.gz |
updated for version 7.0049
Diffstat (limited to 'src/ex_getln.c')
-rw-r--r-- | src/ex_getln.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c index e17e671e..a7dfd9a7 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -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 |