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:
@@ -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
|
||||
|
Reference in New Issue
Block a user