aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-01-11 18:01:13 +0000
committerThomas Adam <thomas@xteddy.org>2017-01-11 18:01:13 +0000
commitd87ab0cadf6ee30f253a815ebc80c14d2818391d (patch)
tree735f6d1350b00bff7b0a17d61346f33a9e8a6399 /tmux.h
parent0d19d78fff40fbf57c557698f29049dcd1b1ca7b (diff)
parentbf6a5c056d4be87d68d0e3e409dbf8f116bc9317 (diff)
downloadrtmux-d87ab0cadf6ee30f253a815ebc80c14d2818391d.tar.gz
rtmux-d87ab0cadf6ee30f253a815ebc80c14d2818391d.tar.bz2
rtmux-d87ab0cadf6ee30f253a815ebc80c14d2818391d.zip
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/tmux.h b/tmux.h
index 148f1963..b109bffd 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1114,9 +1114,6 @@ struct tty {
u_int rleft;
u_int rright;
- char *termname;
- struct tty_term *term;
-
int fd;
struct bufferevent *event;
@@ -1133,6 +1130,8 @@ struct tty {
#define TTY_FOCUS 0x40
int flags;
+ struct tty_term *term;
+ char *term_name;
int term_flags;
enum {
TTY_VT100,
@@ -1154,6 +1153,8 @@ struct tty {
struct event key_timer;
struct tty_key *key_tree;
};
+#define TTY_TYPES \
+ { "VT100", "VT101", "VT102", "VT220", "VT320", "VT420", "UNKNOWN" }
/* TTY command context. */
struct tty_ctx {