Mercurial > vim
diff src/option.c @ 30671:15ac28c12c8f v9.0.0670
patch 9.0.0670: no space for command line when there is a tabline
Commit: https://github.com/vim/vim/commit/c9f5f73206272ccad0aa536854debc5f9781978a
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Oct 6 11:39:06 2022 +0100
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 06 Oct 2022 12:45:05 +0200 |
parents | 57ebc2a4d2ca |
children | c7983f593fa7 |
line wrap: on
line diff
--- 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