1
0
forked from aniani/vim

patch 9.0.0670: no space for command line when there is a tabline

Problem:    No space for command line when there is a tabline.
Solution:   Correct computation of where the command line should be.
            (closes #11295)
This commit is contained in:
Bram Moolenaar
2022-10-06 11:39:06 +01:00
parent db77cb3c08
commit c9f5f73206
5 changed files with 22 additions and 3 deletions

View File

@@ -3577,7 +3577,8 @@ set_num_option(
// Only compute the new window layout when startup has been
// completed. Otherwise the frame sizes may be wrong.
if ((p_ch != old_value || topframe->fr_height != Rows - p_ch)
if ((p_ch != old_value
|| tabline_height() + topframe->fr_height != Rows - p_ch)
&& full_screen
#ifdef FEAT_GUI
&& !gui.starting