summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--screen-redraw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/screen-redraw.c b/screen-redraw.c
index 6ddabc52..cf3e29f6 100644
--- a/screen-redraw.c
+++ b/screen-redraw.c
@@ -604,8 +604,8 @@ screen_redraw_screen(struct client *c)
return;
screen_redraw_set_context(c, &ctx);
- tty_update_mode(&c->tty, c->tty.mode, NULL);
tty_sync_start(&c->tty);
+ tty_update_mode(&c->tty, c->tty.mode, NULL);
if (flags & (CLIENT_REDRAWWINDOW|CLIENT_REDRAWBORDERS)) {
log_debug("%s: redrawing borders", c->name);
@@ -640,8 +640,8 @@ screen_redraw_pane(struct client *c, struct window_pane *wp)
return;
screen_redraw_set_context(c, &ctx);
- tty_update_mode(&c->tty, c->tty.mode, NULL);
tty_sync_start(&c->tty);
+ tty_update_mode(&c->tty, c->tty.mode, NULL);
screen_redraw_draw_pane(&ctx, wp);