mirror of
https://github.com/neovim/neovim.git
synced 2026-03-06 00:57:15 +00:00
vim-patch:8.0.0468: g< after aborting an Ex command (#7941)
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.
f2405ed232
This commit is contained in:
committed by
Justin M. Keyes
parent
b92d6f490d
commit
7ae7da8fb9
@@ -66,7 +66,7 @@ void try_to_free_memory(void)
|
||||
trying_to_free = true;
|
||||
|
||||
// free any scrollback text
|
||||
clear_sb_text();
|
||||
clear_sb_text(true);
|
||||
// Try to save all buffers and release as many blocks as possible
|
||||
mf_release_all();
|
||||
|
||||
@@ -633,7 +633,7 @@ void free_all_mem(void)
|
||||
free_signs();
|
||||
set_expr_line(NULL);
|
||||
diff_clear(curtab);
|
||||
clear_sb_text(); /* free any scrollback text */
|
||||
clear_sb_text(true); // free any scrollback text
|
||||
|
||||
/* Free some global vars. */
|
||||
xfree(last_cmdline);
|
||||
|
||||
Reference in New Issue
Block a user