diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-03-16 19:58:25 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-03-16 19:58:25 +0100 |
commit | f2405ed2321da4a879fe0b0703af780fc0432c63 (patch) | |
tree | 0cc02db45ec63fd64c3d75e5d5ab2c2a24e51a60 /src/misc2.c | |
parent | 57002ad70c4c32f3afefec24994a974cf3eef3ad (diff) | |
download | vim-git-f2405ed2321da4a879fe0b0703af780fc0432c63.tar.gz |
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/misc2.c')
-rw-r--r-- | src/misc2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc2.c b/src/misc2.c index 522fcb685..357511d0a 100644 --- a/src/misc2.c +++ b/src/misc2.c @@ -970,7 +970,7 @@ lalloc(long_u size, int message) break; releasing = TRUE; - clear_sb_text(); /* free any scrollback text */ + clear_sb_text(TRUE); /* free any scrollback text */ try_again = mf_release_all(); /* release as many blocks as possible */ releasing = FALSE; @@ -1148,7 +1148,7 @@ free_all_mem(void) # ifdef FEAT_DIFF diff_clear(curtab); # endif - clear_sb_text(); /* free any scrollback text */ + clear_sb_text(TRUE); /* free any scrollback text */ /* Free some global vars. */ vim_free(username); |