version 1.209, 2022/08/02 11:09:26 |
version 1.210, 2022/10/25 09:04:49 |
|
|
|
|
screen_write_collect_flush(ctx, 0, __func__); |
screen_write_collect_flush(ctx, 0, __func__); |
|
|
screen_write_initctx(ctx, &ttyctx, 1); |
if (ttyctx.redraw_cb != NULL) { |
ttyctx.redraw_cb(&ttyctx); |
screen_write_initctx(ctx, &ttyctx, 1); |
|
ttyctx.redraw_cb(&ttyctx); |
|
} |
} |
} |
|
|
/* Trim collected items. */ |
/* Trim collected items. */ |
|
|
screen_write_collect_flush(ctx, 0, __func__); |
screen_write_collect_flush(ctx, 0, __func__); |
screen_alternate_on(ctx->s, gc, cursor); |
screen_alternate_on(ctx->s, gc, cursor); |
|
|
screen_write_initctx(ctx, &ttyctx, 1); |
if (ttyctx.redraw_cb != NULL) { |
ttyctx.redraw_cb(&ttyctx); |
screen_write_initctx(ctx, &ttyctx, 1); |
|
ttyctx.redraw_cb(&ttyctx); |
|
} |
} |
} |
|
|
/* Turn alternate screen off. */ |
/* Turn alternate screen off. */ |
|
|
screen_write_collect_flush(ctx, 0, __func__); |
screen_write_collect_flush(ctx, 0, __func__); |
screen_alternate_off(ctx->s, gc, cursor); |
screen_alternate_off(ctx->s, gc, cursor); |
|
|
screen_write_initctx(ctx, &ttyctx, 1); |
if (ttyctx.redraw_cb != NULL) { |
ttyctx.redraw_cb(&ttyctx); |
screen_write_initctx(ctx, &ttyctx, 1); |
|
ttyctx.redraw_cb(&ttyctx); |
|
} |
} |
} |