0
0
mirror of https://github.com/vim/vim.git synced 2025-10-02 05:04:20 -04:00

patch 8.1.0706: tabline is not always redrawn

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.
This commit is contained in:
Bram Moolenaar
2019-01-08 22:02:56 +01:00
parent 6d4470b0e9
commit e12bab3144
9 changed files with 77 additions and 21 deletions

View File

@@ -154,7 +154,6 @@ static int win_do_lines(win_T *wp, int row, int line_count, int mayclear, int de
static void win_rest_invalid(win_T *wp);
static void msg_pos_mode(void);
static void recording_mode(int attr);
static void draw_tabline(void);
static int fillchar_status(int *attr, win_T *wp);
static int fillchar_vsep(int *attr);
#ifdef FEAT_MENU
@@ -10693,7 +10692,7 @@ recording_mode(int attr)
/*
* Draw the tab pages line at the top of the Vim window.
*/
static void
void
draw_tabline(void)
{
int tabcount = 0;