=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/screen-write.c,v retrieving revision 1.172 retrieving revision 1.173 diff -c -r1.172 -r1.173 *** src/usr.bin/tmux/screen-write.c 2020/04/18 17:20:25 1.172 --- src/usr.bin/tmux/screen-write.c 2020/04/20 14:59:31 1.173 *************** *** 1,4 **** ! /* $OpenBSD: screen-write.c,v 1.172 2020/04/18 17:20:25 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: screen-write.c,v 1.173 2020/04/20 14:59:31 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 119,125 **** 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; } --- 119,124 ---- *************** *** 184,191 **** 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__); --- 183,188 ---- *************** *** 194,205 **** if (ctx->wp != NULL) { ctx->wp->written += ctx->written; 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); --- 191,196 ----