mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
fix: cmdline flicker when cmdheight = 0
This commit is contained in:
parent
d339b4aad7
commit
eda2dcfeae
@ -434,10 +434,12 @@ int update_screen(void)
|
||||
// UPD_CLEAR is already handled
|
||||
if (type == UPD_NOT_VALID && !ui_has(kUIMultigrid) && msg_scrolled) {
|
||||
was_invalidated = ui_comp_set_screen_valid(false);
|
||||
if (p_ch > 0) {
|
||||
for (int i = valid; i < Rows - p_ch; i++) {
|
||||
grid_clear_line(&default_grid, default_grid.line_offset[i],
|
||||
Columns, false);
|
||||
}
|
||||
}
|
||||
FOR_ALL_WINDOWS_IN_TAB(wp, curtab) {
|
||||
if (wp->w_floating) {
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user