Mercurial > vim
diff src/ex_docmd.c @ 161:6df0106fc595
updated for version 7.0049
author | vimboss |
---|---|
date | Mon, 07 Feb 2005 22:01:03 +0000 |
parents | 19670b05ee32 |
children | 8b0ee9d57d7f |
line wrap: on
line diff
--- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -594,6 +594,14 @@ do_exmode(improved) MSG(_("Entering Ex mode. Type \"visual\" to go to Normal mode.")); while (exmode_active) { +#ifdef FEAT_EX_EXTRA + /* Check for a ":normal" command and no more characters left. */ + if (ex_normal_busy > 0 && typebuf.tb_len == 0) + { + exmode_active = FALSE; + break; + } +#endif msg_scroll = TRUE; need_wait_return = FALSE; ex_pressedreturn = FALSE;