fix(ui): allow resize commands to set 'cmdheight' to 0

Resolve https://github.com/neovim/neovim/issues/21558
This commit is contained in:
Luuk van Baal
2022-12-29 03:07:49 +01:00
parent 05b6dd6e5f
commit b102bf22c0
3 changed files with 6 additions and 4 deletions

View File

@@ -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