diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-31 14:46:18 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-31 14:46:18 +0100 |
commit | a2a8973e51a0052bb52e43a2b22e7ecdecc32003 (patch) | |
tree | 42700a5eab4930539b87591ad903f7271b527fc3 /src/screen.c | |
parent | a63ad78ed31e36dbdf3a9cd28071dcdbefce7d19 (diff) | |
download | vim-git-a2a8973e51a0052bb52e43a2b22e7ecdecc32003.tar.gz |
patch 9.0.0340: the 'cmdheight' zero support causes too much troublev9.0.0340
Problem: The 'cmdheight' zero support causes too much trouble.
Solution: Revert support for 'cmdheight' being zero.
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screen.c b/src/screen.c index eb01fdbd3..12377d56b 100644 --- a/src/screen.c +++ b/src/screen.c @@ -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)); } /* |