0
0
mirror of https://github.com/vim/vim.git synced 2025-07-04 23:07:33 -04:00

updated for version 7.3.477

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)
This commit is contained in:
Bram Moolenaar 2012-03-23 15:18:24 +01:00
parent 5e4b9e9ff8
commit 12b0290d42
2 changed files with 7 additions and 0 deletions

View 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);

View File

@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
477,
/**/
476,
/**/