diff options
author | nicm <nicm> | 2020-04-20 14:59:31 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-04-20 14:59:31 +0000 |
commit | 2083a6ea2050fb211eab3da0df0ff5a40b4973b4 (patch) | |
tree | 48550eab5ba7e22d2b0817d6a164935f09eea5ad /screen-write.c | |
parent | 135bb1edeeab3faae8001100aa7c173be9aa91e1 (diff) | |
download | rtmux-2083a6ea2050fb211eab3da0df0ff5a40b4973b4.tar.gz rtmux-2083a6ea2050fb211eab3da0df0ff5a40b4973b4.tar.bz2 rtmux-2083a6ea2050fb211eab3da0df0ff5a40b4973b4.zip |
Change how sync works to always send the end sequence after all output
is done when we are returning to the event loop (since we always move
the cursor at that point). Also a man fix from jmc.
Diffstat (limited to 'screen-write.c')
-rw-r--r-- | screen-write.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/screen-write.c b/screen-write.c index 55d399a7..042f2fa8 100644 --- a/screen-write.c +++ b/screen-write.c @@ -119,7 +119,6 @@ screen_write_initctx(struct screen_write_ctx *ctx, struct tty_ctx *ttyctx, ttyctx->orupper = s->rupper; if (sync && !ctx->sync && ttyctx->wp != NULL) { - log_debug("%s: starting sync", __func__); tty_write(tty_cmd_syncstart, ttyctx); ctx->sync = 1; } @@ -184,8 +183,6 @@ screen_write_start(struct screen_write_ctx *ctx, struct window_pane *wp, void screen_write_stop(struct screen_write_ctx *ctx) { - struct tty_ctx ttyctx; - screen_write_collect_end(ctx); screen_write_collect_flush(ctx, 0, __func__); @@ -196,12 +193,6 @@ screen_write_stop(struct screen_write_ctx *ctx) ctx->wp->skipped += ctx->skipped; } - if (ctx->sync) { - screen_write_initctx(ctx, &ttyctx, 0); - tty_write(tty_cmd_syncend, &ttyctx); - log_debug("%s: ending sync", __func__); - } - free(ctx->item); } |