0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

updated for version 7.1-160

This commit is contained in:
Bram Moolenaar
2007-11-24 14:44:58 +00:00
parent f9ffd188e5
commit 9f10875ed0
2 changed files with 11 additions and 0 deletions

View File

@@ -2850,6 +2850,15 @@ repeat_message()
} }
else if (State == HITRETURN || State == SETWSIZE) else if (State == HITRETURN || State == SETWSIZE)
{ {
if (msg_row == Rows - 1)
{
/* Avoid drawing the "hit-enter" prompt below the previous one,
* overwrite it. Esp. useful when regaining focus and a
* FocusGained autocmd exists but didn't draw anything. */
msg_didout = FALSE;
msg_col = 0;
msg_clr_eos();
}
hit_return_msg(); hit_return_msg();
msg_row = Rows - 1; msg_row = Rows - 1;
} }

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 */
/**/
160,
/**/ /**/
159, 159,
/**/ /**/