diff src/eval.c @ 3435:19040069b8bf v7.3.483

updated for version 7.3.483 Problem: More prompt shows up too often. Solution: Instead of adding a line break, only start a new line in the message history. (Christian Brabandt)
author Bram Moolenaar <bram@vim.org>
date Wed, 28 Mar 2012 16:49:29 +0200
parents 754db4059212
children b067b8b81be9
line wrap: on
line diff
--- a/src/eval.c
+++ b/src/eval.c
@@ -20493,9 +20493,10 @@ ex_echo(eap)
 		 * 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;
+		    /* Mark the saved text as finishing the line, so that what
+		     * follows is displayed on a new line when scrolling back
+		     * at the more prompt. */
+		    msg_sb_eol();
 		    msg_start();
 		}
 	    }