diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-11-24 14:44:58 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-11-24 14:44:58 +0000 |
commit | 9f10875ed0682c98fb0c63f315cf04236b474168 (patch) | |
tree | 19875f3bdbf0c92bd5e202be32051c05d2356f49 /src/message.c | |
parent | f9ffd188e54a65e13cf249b7a21419083406b6be (diff) | |
download | vim-git-9f10875ed0682c98fb0c63f315cf04236b474168.tar.gz |
updated for version 7.1-160v7.1.160
Diffstat (limited to 'src/message.c')
-rw-r--r-- | src/message.c | 9 |
1 files changed, 9 insertions, 0 deletions
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; } |