diff options
author | Luuk van Baal <luukvbaal@gmail.com> | 2022-12-29 03:07:49 +0100 |
---|---|---|
committer | Luuk van Baal <luukvbaal@gmail.com> | 2022-12-31 00:30:53 +0100 |
commit | b102bf22c009d3543f71d9d21c1252b54f5d4a54 (patch) | |
tree | ec658129951bd87d1db5b89a6e2ce782ffb40bf4 /src/nvim/window.h | |
parent | 05b6dd6e5f543083ebca581506398a8c263a2db6 (diff) | |
download | rneovim-b102bf22c009d3543f71d9d21c1252b54f5d4a54.tar.gz rneovim-b102bf22c009d3543f71d9d21c1252b54f5d4a54.tar.bz2 rneovim-b102bf22c009d3543f71d9d21c1252b54f5d4a54.zip |
fix(ui): allow resize commands to set 'cmdheight' to 0
Resolve https://github.com/neovim/neovim/issues/21558
Diffstat (limited to 'src/nvim/window.h')
-rw-r--r-- | src/nvim/window.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/window.h b/src/nvim/window.h index 9fd4d67b3f..f348f102c9 100644 --- a/src/nvim/window.h +++ b/src/nvim/window.h @@ -35,6 +35,8 @@ #define MIN_COLUMNS 12 // minimal columns for screen #define MIN_LINES 2 // minimal lines for screen +// Set to true if 'cmdheight' was explicitly set to 0. +EXTERN bool p_ch_was_zero INIT(= false); #ifdef INCLUDE_GENERATED_DECLARATIONS # include "window.h.generated.h" #endif |