From 9198de3ae2bd20ac51d580c44f2b43c282c1e773 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 27 Aug 2022 21:30:03 +0100 Subject: 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. --- src/feature.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/feature.h') diff --git a/src/feature.h b/src/feature.h index f1a7af8dff..22b0c50cbc 100644 --- a/src/feature.h +++ b/src/feature.h @@ -1064,6 +1064,13 @@ # define FEAT_PROP_POPUP #endif +/* + * +message_window use a popup for messages when 'cmdheight' is zero + */ +#if defined(FEAT_PROP_POPUP) && defined(FEAT_TIMERS) +# define HAS_MESSAGE_WINDOW +#endif + #if defined(FEAT_SYN_HL) && defined(FEAT_RELTIME) // Can limit syntax highlight time to 'redrawtime'. # define SYN_TIME_LIMIT 1 -- cgit v1.2.3