vim-patch:9.0.0114: the command line takes up space even when not used

Problem:    The command line takes up space even when not used.
Solution:   Allow for 'cmdheight' to be set to zero. (Shougo Matsushita,
            closes vim/vim#10675, closes vim/vim#940)
f39cfb7262

Omit win_redr_ruler() change: winbar may still need redraw.
Omit win_update() changes: Nvim doesn't use `Rows` there.
Omit redraw_asap(): removed.
This commit is contained in:
Shougo Matsushita
2022-07-31 17:06:32 +09:00
committed by zeertzjq
parent abc087f4c6
commit 81a1d26c3e
9 changed files with 68 additions and 26 deletions

View File

@@ -1390,7 +1390,7 @@ void msg_start(void)
need_fileinfo = false;
}
bool no_msg_area = !ui_has_messages();
const bool no_msg_area = !ui_has_messages();
if (need_clr_eos || (no_msg_area && redrawing_cmdline)) {
// Halfway an ":echo" command and getting an (error) message: clear