version 1.66, 2020/03/24 08:09:44 |
version 1.67, 2020/04/16 13:35:24 |
|
|
|
|
flags = screen_redraw_update(c, c->flags); |
flags = screen_redraw_update(c, c->flags); |
screen_redraw_set_context(c, &ctx); |
screen_redraw_set_context(c, &ctx); |
|
tty_sync_start(&c->tty); |
|
|
if (flags & (CLIENT_REDRAWWINDOW|CLIENT_REDRAWBORDERS)) { |
if (flags & (CLIENT_REDRAWWINDOW|CLIENT_REDRAWBORDERS)) { |
if (ctx.pane_status != PANE_STATUS_OFF) |
if (ctx.pane_status != PANE_STATUS_OFF) |
|
|
screen_redraw_draw_status(&ctx); |
screen_redraw_draw_status(&ctx); |
if (c->overlay_draw != NULL && (flags & CLIENT_REDRAWOVERLAY)) |
if (c->overlay_draw != NULL && (flags & CLIENT_REDRAWOVERLAY)) |
c->overlay_draw(c, &ctx); |
c->overlay_draw(c, &ctx); |
|
|
tty_reset(&c->tty); |
tty_reset(&c->tty); |
|
tty_sync_end(&c->tty); |
} |
} |
|
|
/* Redraw a single pane. */ |
/* Redraw a single pane. */ |
|
|
return; |
return; |
|
|
screen_redraw_set_context(c, &ctx); |
screen_redraw_set_context(c, &ctx); |
|
tty_sync_start(&c->tty); |
|
|
screen_redraw_draw_pane(&ctx, wp); |
screen_redraw_draw_pane(&ctx, wp); |
|
|
tty_reset(&c->tty); |
tty_reset(&c->tty); |
|
tty_sync_end(&c->tty); |
} |
} |
|
|
/* Draw a border cell. */ |
/* Draw a border cell. */ |