mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
The PANE_REDRAW flag bit might be needed by other panes so we can't
clear it on the first redraw, and it can't be set when we are finished or they would be redrawn again, so if the redraw is deferred for a client, copy the redraw flag into a separate set of bits just for that client.
This commit is contained in:
@ -474,7 +474,6 @@ screen_redraw_pane(struct client *c, struct window_pane *wp)
|
||||
tty_sync_start(&c->tty);
|
||||
|
||||
screen_redraw_draw_pane(&ctx, wp);
|
||||
wp->flags &= ~PANE_REDRAW;
|
||||
|
||||
tty_reset(&c->tty);
|
||||
tty_sync_end(&c->tty);
|
||||
@ -564,7 +563,6 @@ screen_redraw_draw_panes(struct screen_redraw_ctx *ctx)
|
||||
TAILQ_FOREACH(wp, &w->panes, entry) {
|
||||
if (window_pane_visible(wp))
|
||||
screen_redraw_draw_pane(ctx, wp);
|
||||
wp->flags &= ~PANE_REDRAW;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user