1
0
forked from aniani/vim

patch 8.1.1242: no cmdline redraw when tabpages have different 'cmdheight'

Problem:    No cmdline redraw when tabpages have different 'cmdheight'.
Solution:   redraw the command line when 'cmdheight' changes when switching
            tabpages. (closes #4321)
This commit is contained in:
Bram Moolenaar
2019-05-01 20:30:40 +02:00
parent b731689e85
commit 0fef0aeb1c
5 changed files with 51 additions and 1 deletions

View File

@@ -3955,6 +3955,8 @@ enter_tabpage(
* the frames for that. When the Vim window was resized need to update
* frame sizes too. Use the stored value of p_ch, so that it can be
* different for each tab page. */
if (p_ch != curtab->tp_ch_used)
clear_cmdline = TRUE;
p_ch = curtab->tp_ch_used;
if (curtab->tp_old_Rows != Rows || (old_off != firstwin->w_winrow
#ifdef FEAT_GUI_TABLINE