patch 9.0.0288: when 'cmdheight' is zero some messages are not displayed
Problem: When 'cmdheight' is zero some messages are not displayed.
Solution: Use a popup notification window.
diff --git a/src/screen.c b/src/screen.c
index 866e3e4..a1741ca 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -4211,10 +4211,10 @@
int nwr_save;
int sub_attr;
- do_mode = ((p_smd && msg_silent == 0)
+ do_mode = p_smd && msg_silent == 0 && p_ch > 0
&& ((State & MODE_INSERT)
|| restart_edit != NUL
- || VIsual_active));
+ || VIsual_active);
if (do_mode || reg_recording != 0)
{
if (skip_showmode())