summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-05-01 20:30:40 +0200
committerBram Moolenaar <Bram@vim.org>2019-05-01 20:30:40 +0200
commit0fef0aeb1ca6c85df0a656a70b6ca49c34563c89 (patch)
treea13627e5463d6e3aba1ce1c73d42a782efc1abe6 /src/window.c
parentb731689e85b4153af7edc8f0a6b9f99d36d8b011 (diff)
downloadvim-git-8.1.1242.tar.gz
patch 8.1.1242: no cmdline redraw when tabpages have different 'cmdheight'v8.1.1242
Problem: No cmdline redraw when tabpages have different 'cmdheight'. Solution: redraw the command line when 'cmdheight' changes when switching tabpages. (closes #4321)
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c
index 6c278d9e5..f8df1cc31 100644
--- a/src/window.c
+++ b/src/window.c
@@ -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