Mercurial > vim
comparison src/window.c @ 16477:8cc31b1b1d23 v8.1.1242
patch 8.1.1242: no cmdline redraw when tabpages have different 'cmdheight'
commit https://github.com/vim/vim/commit/0fef0aeb1ca6c85df0a656a70b6ca49c34563c89
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed May 1 20:30:40 2019 +0200
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 01 May 2019 20:45:05 +0200 |
parents | 854fb0ad4be6 |
children | 06fd0eaada01 |
comparison
equal
deleted
inserted
replaced
16476:9f2336fa44b9 | 16477:8cc31b1b1d23 |
---|---|
3953 | 3953 |
3954 /* The tabpage line may have appeared or disappeared, may need to resize | 3954 /* The tabpage line may have appeared or disappeared, may need to resize |
3955 * the frames for that. When the Vim window was resized need to update | 3955 * the frames for that. When the Vim window was resized need to update |
3956 * frame sizes too. Use the stored value of p_ch, so that it can be | 3956 * frame sizes too. Use the stored value of p_ch, so that it can be |
3957 * different for each tab page. */ | 3957 * different for each tab page. */ |
3958 if (p_ch != curtab->tp_ch_used) | |
3959 clear_cmdline = TRUE; | |
3958 p_ch = curtab->tp_ch_used; | 3960 p_ch = curtab->tp_ch_used; |
3959 if (curtab->tp_old_Rows != Rows || (old_off != firstwin->w_winrow | 3961 if (curtab->tp_old_Rows != Rows || (old_off != firstwin->w_winrow |
3960 #ifdef FEAT_GUI_TABLINE | 3962 #ifdef FEAT_GUI_TABLINE |
3961 && !gui_use_tabline() | 3963 && !gui_use_tabline() |
3962 #endif | 3964 #endif |