0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 9.0.0316: screen flickers when 'cmdheight' is zero

Problem:    Screen flickers when 'cmdheight' is zero.
Solution:   Redraw over existing text instead of clearing.
This commit is contained in:
Bram Moolenaar
2022-08-29 12:41:06 +01:00
parent 309c4e0ed7
commit f73e5ba56f
3 changed files with 31 additions and 26 deletions

View File

@@ -2582,7 +2582,7 @@ theend:
made_cmdheight_nonzero = TRUE;
set_option_value((char_u *)"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;
}