vim-patch:8.1.0706: introduce :redrawtabline #10570

Problem:    Tabline is not always redrawn when something that is used in
            'tabline' changes.
Solution:   Add ":redrawtabline" so that a plugin can at least cause the
            redraw when needed.
e12bab3144
This commit is contained in:
Jan Edmund Lazo
2019-07-22 06:25:07 -04:00
committed by Justin M. Keyes
parent f8684bf6b9
commit 39549159fe
6 changed files with 61 additions and 9 deletions

View File

@@ -6650,7 +6650,7 @@ static void recording_mode(int attr)
/*
* Draw the tab pages line at the top of the Vim window.
*/
static void draw_tabline(void)
void draw_tabline(void)
{
int tabcount = 0;
int tabwidth = 0;