summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2020-05-16 15:27:08 +0000
committernicm <nicm@openbsd.org>2020-05-16 15:27:08 +0000
commit10b45510ea8f90ad519bcaacd3dcfa8716e8816f (patch)
tree770c0627e00d167c70a338566b2b3600fa9f3a73 /usr.bin/tmux/tmux.h
parentAdd -e for new-session to set environment variables. (diff)
downloadwireguard-openbsd-10b45510ea8f90ad519bcaacd3dcfa8716e8816f.tar.xz
wireguard-openbsd-10b45510ea8f90ad519bcaacd3dcfa8716e8816f.zip
Rename and tidy some stuff in struct tty_ctx.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index b5469035f29..cb643f3a8c5 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.1029 2020/05/16 15:24:28 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.1030 2020/05/16 15:27:08 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -1305,19 +1305,21 @@ struct tty_ctx {
u_int orupper;
u_int orlower;
- /* Pane offset. */
+ /* Target region (usually pane) offset and size. */
u_int xoff;
u_int yoff;
+ u_int sx;
+ u_int sy;
/* The background colour used for clearing (erasing). */
u_int bg;
- /* Window offset and size. */
+ /* Containing region (usually window) offset and size. */
int bigger;
- u_int ox;
- u_int oy;
- u_int sx;
- u_int sy;
+ u_int wox;
+ u_int woy;
+ u_int wsx;
+ u_int wsy;
};
/* Saved message entry. */