mirror of
https://github.com/tmux/tmux.git
synced 2025-09-05 08:07:03 +00:00
Move size to tty_ctx.
This commit is contained in:
@ -112,6 +112,9 @@ screen_write_initctx(struct screen_write_ctx *ctx, struct tty_ctx *ttyctx,
|
||||
|
||||
ttyctx->wp = ctx->wp;
|
||||
|
||||
ttyctx->sx = screen_size_x(s);
|
||||
ttyctx->sy = screen_size_y(s);
|
||||
|
||||
ttyctx->ocx = s->cx;
|
||||
ttyctx->ocy = s->cy;
|
||||
|
||||
|
Reference in New Issue
Block a user