mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.0.0467: using g< after :for does not show the right output
Problem: Using g< after :for does not show the right output. (Marcin Szamotulski) Solution: Call msg_sb_eol() in :echomsg.
This commit is contained in:
@@ -8319,6 +8319,15 @@ ex_execute(exarg_T *eap)
|
|||||||
|
|
||||||
if (ret != FAIL && ga.ga_data != NULL)
|
if (ret != FAIL && ga.ga_data != NULL)
|
||||||
{
|
{
|
||||||
|
if (eap->cmdidx == CMD_echomsg || eap->cmdidx == CMD_echoerr)
|
||||||
|
{
|
||||||
|
/* Mark the already 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();
|
||||||
|
}
|
||||||
|
|
||||||
if (eap->cmdidx == CMD_echomsg)
|
if (eap->cmdidx == CMD_echomsg)
|
||||||
{
|
{
|
||||||
MSG_ATTR(ga.ga_data, echo_attr);
|
MSG_ATTR(ga.ga_data, echo_attr);
|
||||||
|
@@ -764,6 +764,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
467,
|
||||||
/**/
|
/**/
|
||||||
466,
|
466,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user