]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.477 v7.3.477
authorBram Moolenaar <Bram@vim.org>
Fri, 23 Mar 2012 14:18:24 +0000 (15:18 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 23 Mar 2012 14:18:24 +0000 (15:18 +0100)
Problem:    Using ":echo" to output enough lines to scroll, then using "j" and
            "k" at the more prompt, displays the command on top of the output.
            (Marcin Szamotulski)
Solution:   Put the output below the command. (Christian Brabandt)

src/eval.c
src/version.c

index 10564226559bac0b4fcb5b485a35c508d3da0280..13e520b6dbd0fd1de6e7518185f500e4e4ee4c3f 100644 (file)
@@ -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);
index f6250cdab6d29845567f896d52863a939e97d716..170784c983c5a02a153d98fc9f56c293ea418828 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    477,
 /**/
     476,
 /**/