0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -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)
{
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();
msg_row = Rows - 1;
}