-/* $OpenBSD: screen-redraw.c,v 1.83 2021/02/05 12:29:18 nicm Exp $ */
+/* $OpenBSD: screen-redraw.c,v 1.84 2021/04/13 05:25:05 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
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);
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);