From 379ca54c80837d09dff53ffa7b9ea3b80d87096b Mon Sep 17 00:00:00 2001 From: nicm Date: Sat, 16 May 2020 15:27:08 +0000 Subject: Rename and tidy some stuff in struct tty_ctx. --- screen-write.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'screen-write.c') diff --git a/screen-write.c b/screen-write.c index e3e51020..32424b39 100644 --- a/screen-write.c +++ b/screen-write.c @@ -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; -- cgit