mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
fix(redraw): make sure :redraw! redraws command line
In Vim :redraw! uses CLEAR, which calls screenclear(), which sets redraw_cmdline. In Nvim :redraw! uses NOT_VALID, which does not set redraw_cmdline automatically, so set it explicitly.
This commit is contained in:
parent
76b4b1977b
commit
18b457ebbb
@ -6994,6 +6994,7 @@ static void ex_redraw(exarg_T *eap)
|
||||
update_topline(curwin);
|
||||
if (eap->forceit) {
|
||||
redraw_all_later(NOT_VALID);
|
||||
redraw_cmdline = true;
|
||||
}
|
||||
update_screen(eap->forceit ? NOT_VALID
|
||||
: VIsual_active ? INVERTED : 0);
|
||||
|
Loading…
Reference in New Issue
Block a user