Mercurial > vim
diff src/screen.c @ 15396:325e4a8ba1b6 v8.1.0706
patch 8.1.0706: tabline is not always redrawn
commit https://github.com/vim/vim/commit/e12bab3144af8943937bd0ff4bc57f04e53037b3
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 8 22:02:56 2019 +0100
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 08 Jan 2019 22:15:05 +0100 |
parents | a4fb69fd62a6 |
children | ac5542aadd9c |
line wrap: on
line diff
--- a/src/screen.c +++ b/src/screen.c @@ -154,7 +154,6 @@ static int win_do_lines(win_T *wp, int r 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;