aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2017-04-18 18:21:37 +0000
committernicm <nicm>2017-04-18 18:21:37 +0000
commit623e35f5946498d0e89127756fb49258f768a6d0 (patch)
tree0ed3f18a5f28719f2f9590379dca2f2863ff0688 /tmux.h
parentfb3c5efa503214b08cae72f89e73ed4eb1bf957c (diff)
downloadrtmux-623e35f5946498d0e89127756fb49258f768a6d0.tar.gz
rtmux-623e35f5946498d0e89127756fb49258f768a6d0.tar.bz2
rtmux-623e35f5946498d0e89127756fb49258f768a6d0.zip
Detect iTerm2 and use DECSLRM for it as well.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index c472a763..8933d356 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1071,6 +1071,7 @@ struct tty {
TTY_VT220,
TTY_VT320,
TTY_VT420,
+ TTY_ITERM2,
TTY_UNKNOWN
} term_type;
@@ -1085,7 +1086,8 @@ struct tty {
struct tty_key *key_tree;
};
#define TTY_TYPES \
- { "VT100", "VT101", "VT102", "VT220", "VT320", "VT420", "UNKNOWN" }
+ { "VT100", "VT101", "VT102", "VT220", "VT320", "VT420", "iTerm2", \
+ "Unknown" }
/* TTY command context. */
struct tty_ctx {