summaryrefslogtreecommitdiffstats
path: root/src/gui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-03-16 19:58:25 +0100
committerBram Moolenaar <Bram@vim.org>2017-03-16 19:58:25 +0100
commitf2405ed2321da4a879fe0b0703af780fc0432c63 (patch)
tree0cc02db45ec63fd64c3d75e5d5ab2c2a24e51a60 /src/gui.c
parent57002ad70c4c32f3afefec24994a974cf3eef3ad (diff)
patch 8.0.0468: after aborting an Ex command g< does not workv8.0.0468
Problem: After aborting an Ex command g< does not work. (Marcin Szamotulski) Solution: Postpone clearing scrollback messages to until the command line has been entered. Also fix that the screen isn't redrawn if after g< the command line is cancelled.
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui.c b/src/gui.c
index a4853dce88..7d44db1df9 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -630,7 +630,7 @@ gui_init(void)
* where Vim was started. */
emsg_on_display = FALSE;
msg_scrolled = 0;
- clear_sb_text();
+ clear_sb_text(TRUE);
need_wait_return = FALSE;
msg_didany = FALSE;