aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2017-01-11 16:05:46 +0000
committernicm <nicm>2017-01-11 16:05:46 +0000
commit7497ecd9798f738c585f1db1bded99ebf97182cf (patch)
tree533d45544b98ffd8666252cfa3386076a8491523 /tmux.h
parent458b6eb6001fe4f1bff379ac56b91273662abe8c (diff)
downloadrtmux-7497ecd9798f738c585f1db1bded99ebf97182cf.tar.gz
rtmux-7497ecd9798f738c585f1db1bded99ebf97182cf.tar.bz2
rtmux-7497ecd9798f738c585f1db1bded99ebf97182cf.zip
Use a macro for looking up tty types.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index e0087101..66b8d3af 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1152,6 +1152,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 {