diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-27 21:30:03 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-27 21:30:03 +0100 |
commit | 9198de3ae2bd20ac51d580c44f2b43c282c1e773 (patch) | |
tree | 5a101dfee6a8a29a9000443cdf61a2e822a9f2c5 /src/feature.h | |
parent | aebc6ef7cdc5d4d0627a711ff66e6fe8d67f9d87 (diff) |
patch 9.0.0288: when 'cmdheight' is zero some messages are not displayedv9.0.0288
Problem: When 'cmdheight' is zero some messages are not displayed.
Solution: Use a popup notification window.
Diffstat (limited to 'src/feature.h')
-rw-r--r-- | src/feature.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 |