# HG changeset patch # User vimboss # Date 1195915498 0 # Node ID 54a6b47d473e64d7ae5212f00b8b125c721d2c41 # Parent 215d6b2a1816a5eaf5f5d2cb7cb1b22d24adbdab updated for version 7.1-160 diff --git a/src/message.c b/src/message.c --- 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; } diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -667,6 +667,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 160, +/**/ 159, /**/ 158,