forked from aniani/vim
patch 8.2.3801: if a terminal shows in two windows, only one is redrawn
Problem: If a terminal shows in two windows, only one is redrawn.
Solution: Reset the dirty row range only after redrawing all windows.
(closes #9341)
This commit is contained in:
@@ -342,6 +342,13 @@ update_screen(int type_arg)
|
||||
update_popups(win_update);
|
||||
#endif
|
||||
|
||||
#ifdef FEAT_TERMINAL
|
||||
FOR_ALL_WINDOWS(wp)
|
||||
// If this window contains a terminal, after redrawing all windows, the
|
||||
// dirty row range can be reset.
|
||||
term_did_update_window(wp);
|
||||
#endif
|
||||
|
||||
after_updating_screen(TRUE);
|
||||
|
||||
// Clear or redraw the command line. Done last, because scrolling may
|
||||
|
||||
Reference in New Issue
Block a user