summaryrefslogtreecommitdiff
path: root/src/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/eval.c b/src/eval.c
index 105642265..13e520b6d 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -20492,7 +20492,12 @@ ex_echo(eap)
/* Call msg_start() after eval1(), evaluating the expression
* may cause a message to appear. */
if (eap->cmdidx == CMD_echo)
+ {
+ /* Put the output below the command, makes scrolling back
+ * at more prompt work. */
+ msg_didout = TRUE;
msg_start();
+ }
}
else if (eap->cmdidx == CMD_echo)
msg_puts_attr((char_u *)" ", echo_attr);