0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.1-096

This commit is contained in:
Bram Moolenaar
2007-09-06 10:54:51 +00:00
parent 9c8791fde0
commit c27c8d5c59
2 changed files with 8 additions and 5 deletions

View File

@@ -944,6 +944,7 @@ wait_return(redraw)
c = K_IGNORE; c = K_IGNORE;
} }
#endif #endif
/* /*
* Allow scrolling back in the messages. * Allow scrolling back in the messages.
* Also accept scroll-down commands when messages fill the screen, * Also accept scroll-down commands when messages fill the screen,
@@ -1840,6 +1841,7 @@ msg_puts_display(str, maxlen, attr, recurse)
char_u *sb_str = str; char_u *sb_str = str;
int sb_col = msg_col; int sb_col = msg_col;
int wrap; int wrap;
int did_last_char;
did_wait_return = FALSE; did_wait_return = FALSE;
while ((maxlen < 0 || (int)(s - str) < maxlen) && *s != NUL) while ((maxlen < 0 || (int)(s - str) < maxlen) && *s != NUL)
@@ -1909,7 +1911,10 @@ msg_puts_display(str, maxlen, attr, recurse)
else else
#endif #endif
msg_screen_putchar(*s++, attr); msg_screen_putchar(*s++, attr);
did_last_char = TRUE;
} }
else
did_last_char = FALSE;
if (p_more) if (p_more)
/* store text for scrolling back */ /* store text for scrolling back */
@@ -1944,11 +1949,7 @@ msg_puts_display(str, maxlen, attr, recurse)
/* When we displayed a char in last column need to check if there /* When we displayed a char in last column need to check if there
* is still more. */ * is still more. */
if (*s >= ' ' if (did_last_char)
#ifdef FEAT_RIGHTLEFT
&& !cmdmsg_rl
#endif
)
continue; continue;
} }

View File

@@ -666,6 +666,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 */
/**/
96,
/**/ /**/
95, 95,
/**/ /**/