From 623e35f5946498d0e89127756fb49258f768a6d0 Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 18 Apr 2017 18:21:37 +0000 Subject: Detect iTerm2 and use DECSLRM for it as well. --- tmux.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tmux.h') 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 { -- cgit