Mercurial > vim
changeset 1445:54a6b47d473e v7.1.160
updated for version 7.1-160
author | vimboss |
---|---|
date | Sat, 24 Nov 2007 14:44:58 +0000 |
parents | 215d6b2a1816 |
children | f0b3b9ac2147 |
files | src/message.c src/version.c |
diffstat | 2 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/message.c +++ b/src/message.c @@ -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; }