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

patch 9.0.0340: the 'cmdheight' zero support causes too much trouble

Problem:    The 'cmdheight' zero support causes too much trouble.
Solution:   Revert support for 'cmdheight' being zero.
This commit is contained in:
Bram Moolenaar
2022-08-31 14:46:18 +01:00
parent a63ad78ed3
commit a2a8973e51
32 changed files with 46 additions and 404 deletions

View File

@@ -4228,7 +4228,7 @@ showmode(void)
int nwr_save;
int sub_attr;
do_mode = p_smd && msg_silent == 0 && p_ch > 0
do_mode = p_smd && msg_silent == 0
&& ((State & MODE_INSERT)
|| restart_edit != NUL
|| VIsual_active);
@@ -4741,7 +4741,7 @@ redrawing(void)
int
messaging(void)
{
return (!(p_lz && char_avail() && !KeyTyped)) && p_ch > 0;
return (!(p_lz && char_avail() && !KeyTyped));
}
/*