diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-10-06 11:39:06 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-10-06 11:39:06 +0100 |
commit | c9f5f73206272ccad0aa536854debc5f9781978a (patch) | |
tree | 2d1976965b9052140b4ad929e3f0227721c9c862 /src/option.c | |
parent | db77cb3c08784e6038dd029271b2080c1b2d9acb (diff) |
patch 9.0.0670: no space for command line when there is a tablinev9.0.0670
Problem: No space for command line when there is a tabline.
Solution: Correct computation of where the command line should be.
(closes #11295)
Diffstat (limited to 'src/option.c')
-rw-r--r-- | src/option.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/option.c b/src/option.c index 1b8c3eae8c..3cd1d4019f 100644 --- a/src/option.c +++ b/src/option.c @@ -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 |