mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Add screen write flags instead of individual bits and fix line length
calculation with padding.
This commit is contained in:
@ -184,10 +184,10 @@ screen_write_initctx(struct screen_write_ctx *ctx, struct tty_ctx *ttyctx,
|
||||
}
|
||||
|
||||
if (ctx->wp != NULL &&
|
||||
!ctx->sync &&
|
||||
(~ctx->flags & SCREEN_WRITE_SYNC) &&
|
||||
(sync || ctx->wp != ctx->wp->window->active)) {
|
||||
tty_write(tty_cmd_syncstart, ttyctx);
|
||||
ctx->sync = 1;
|
||||
ctx->flags |= SCREEN_WRITE_SYNC;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user