diff options
| author | 2020-05-16 15:27:08 +0000 | |
|---|---|---|
| committer | 2020-05-16 15:27:08 +0000 | |
| commit | 10b45510ea8f90ad519bcaacd3dcfa8716e8816f (patch) | |
| tree | 770c0627e00d167c70a338566b2b3600fa9f3a73 /usr.bin/tmux/screen-write.c | |
| parent | Add -e for new-session to set environment variables. (diff) | |
| download | wireguard-openbsd-10b45510ea8f90ad519bcaacd3dcfa8716e8816f.tar.xz wireguard-openbsd-10b45510ea8f90ad519bcaacd3dcfa8716e8816f.zip | |
Rename and tidy some stuff in struct tty_ctx.
Diffstat (limited to 'usr.bin/tmux/screen-write.c')
| -rw-r--r-- | usr.bin/tmux/screen-write.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/tmux/screen-write.c b/usr.bin/tmux/screen-write.c index 7d487ecf625..8280f82adc2 100644 --- a/usr.bin/tmux/screen-write.c +++ b/usr.bin/tmux/screen-write.c @@ -1,4 +1,4 @@ -/* $OpenBSD: screen-write.c,v 1.176 2020/05/16 15:11:52 nicm Exp $ */ +/* $OpenBSD: screen-write.c,v 1.177 2020/05/16 15:27:08 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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; |
