mirror of
https://github.com/tmux/tmux.git
synced 2025-09-04 23:56:58 +00:00
Detect iTerm2 and use DECSLRM for it as well.
This commit is contained in:
4
tmux.h
4
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 {
|
||||
|
Reference in New Issue
Block a user