diff options
author | Shougo <Shougo.Matsu@gmail.com> | 2022-09-06 23:33:25 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-06 07:33:25 -0700 |
commit | 87e037e26cfd53c3c34ac9029a8833023af60a56 (patch) | |
tree | 8792f478cd73667735dec287c0f855e6e6ccfd30 /src/nvim/window.c | |
parent | 12afc344deb2df3973904fe55813d700da985dbf (diff) | |
download | rneovim-87e037e26cfd53c3c34ac9029a8833023af60a56.tar.gz rneovim-87e037e26cfd53c3c34ac9029a8833023af60a56.tar.bz2 rneovim-87e037e26cfd53c3c34ac9029a8833023af60a56.zip |
fix(cmdheight=0): various issues part3 #19816
And fixed in https://github.com/neovim/neovim/pull/19801 regression.
Fix #19834
Fix #19184
Diffstat (limited to 'src/nvim/window.c')
-rw-r--r-- | src/nvim/window.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/nvim/window.c b/src/nvim/window.c index ca97ae6184..a6cc53080b 100644 --- a/src/nvim/window.c +++ b/src/nvim/window.c @@ -6270,12 +6270,6 @@ void command_height(void) // p_ch was changed in another tab page. curtab->tp_ch_used = p_ch; - // If the space for the command line is already more than 'cmdheight' there - // is nothing to do (window size must have decreased). - if (p_ch > old_p_ch && cmdline_row <= Rows - p_ch) { - return; - } - // If cmdline_row is smaller than what it is supposed to be for 'cmdheight' // then set old_p_ch to what it would be, so that the windows get resized // properly for the new value. |