From 9f10875ed0682c98fb0c63f315cf04236b474168 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 24 Nov 2007 14:44:58 +0000 Subject: updated for version 7.1-160 --- src/message.c | 9 +++++++++ src/version.c | 2 ++ 2 files changed, 11 insertions(+) diff --git a/src/message.c b/src/message.c index 6aa6746fc..b2daa90e2 100644 --- 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 index e044725a3..c4595c79d 100644 --- a/src/version.c +++ b/src/version.c @@ -666,6 +666,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 160, /**/ 159, /**/ -- cgit v1.2.1