Add a flag to protect against nested syncs and add some extra logging to

redrawing.
This commit is contained in:
nicm
2020-04-18 06:20:50 +00:00
parent d94bdf7420
commit 1d2bd864f2
4 changed files with 18 additions and 5 deletions

View File

@ -1741,6 +1741,7 @@ server_client_check_redraw(struct client *c)
*/
TAILQ_FOREACH(wp, &c->session->curw->window->panes, entry) {
if (wp->flags & PANE_REDRAW) {
log_debug("%s: redrawing pane %%%u", __func__, wp->id);
tty_update_mode(tty, tty->mode, NULL);
screen_redraw_pane(c, wp);
}