diff options
Diffstat (limited to 'src/ex_getln.c')
-rw-r--r-- | src/ex_getln.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c index 2454be71fa..25073a869f 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -3872,6 +3872,8 @@ redrawcmdprompt(void) void redrawcmd(void) { + int save_in_echowindow = in_echowindow; + if (cmd_silent) return; @@ -3883,6 +3885,9 @@ redrawcmd(void) return; } + // Do not put this in the message window. + in_echowindow = FALSE; + sb_text_restart_cmdline(); msg_start(); redrawcmdprompt(); @@ -3906,6 +3911,8 @@ redrawcmd(void) // Typing ':' at the more prompt may set skip_redraw. We don't want this // in cmdline mode skip_redraw = FALSE; + + in_echowindow = save_in_echowindow; } void |