diff options
Diffstat (limited to 'src/ex_getln.c')
-rw-r--r-- | src/ex_getln.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c index 25f409b74..769dcb836 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -1361,7 +1361,8 @@ getcmdline_int( #ifdef FEAT_CMDWIN if (c == cedit_key || c == K_CMDWIN) { - if (ex_normal_busy == 0 && got_int == FALSE) + // TODO: why is ex_normal_busy checked here? + if ((c == K_CMDWIN || ex_normal_busy == 0) && got_int == FALSE) { /* * Open a window to edit the command line (and history). |