mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
vim-patch:8.1.0700: using "gt" sometimes does not redraw a tab (#9464)
Problem: Using "gt" sometimes does not redraw a tab. (Jason Franklin) Solution: Always set must_redraw in redraw_all_later().04b4e1a424
refbf3250a8ad (r31852304)
> I fixed it in a more general way, in that if we don't find a window > that doesn't have the redraw type set it, then it will not set > must_redraw, even though that's clearly intended. ref #9152 ref #9155 NA patches: vim-patch:8.1.0698 vim-patch:8.1.0699
This commit is contained in:
parent
3081f60989
commit
0ccb9704d7
@ -185,6 +185,10 @@ void redraw_all_later(int type)
|
||||
FOR_ALL_WINDOWS_IN_TAB(wp, curtab) {
|
||||
redraw_win_later(wp, type);
|
||||
}
|
||||
// This may be needed when switching tabs.
|
||||
if (must_redraw < type) {
|
||||
must_redraw = type;
|
||||
}
|
||||
}
|
||||
|
||||
void screen_invalidate_highlights(void)
|
||||
|
@ -3355,7 +3355,6 @@ static void enter_tabpage(tabpage_T *tp, buf_T *old_curbuf, int trigger_enter_au
|
||||
}
|
||||
|
||||
redraw_all_later(NOT_VALID);
|
||||
must_redraw = NOT_VALID;
|
||||
}
|
||||
|
||||
/// called when changing current tabpage from old_curtab to curtab
|
||||
|
Loading…
Reference in New Issue
Block a user