vim-patch:9.0.0316: screen flickers when 'cmdheight' is zero (#19991)

Problem:    Screen flickers when 'cmdheight' is zero.
Solution:   Redraw over existing text instead of clearing.
f73e5ba56f
This commit is contained in:
zeertzjq
2022-08-29 20:22:15 +08:00
committed by GitHub
parent e6af1cf250
commit 92bc11a891
2 changed files with 27 additions and 25 deletions

View File

@@ -918,7 +918,7 @@ theend:
// Restore cmdheight
set_option_value("ch", 0L, NULL, 0);
// Redraw is needed for command line completion
redraw_all_later(UPD_CLEAR);
redraw_all_later(UPD_NOT_VALID);
made_cmdheight_nonzero = false;
}