Fix parsing of DA with only one argument in the response and add 65 for VT520.

This commit is contained in:
nicm
2019-11-14 15:37:19 +00:00
parent 2dbf062a89
commit 16b7719418
3 changed files with 16 additions and 3 deletions

10
tmux.h
View File

@ -1202,6 +1202,7 @@ struct tty {
TTY_VT220,
TTY_VT320,
TTY_VT420,
TTY_VT520,
TTY_UNKNOWN
} term_type;
@ -1218,7 +1219,14 @@ struct tty {
struct tty_key *key_tree;
};
#define TTY_TYPES \
{ "VT100", "VT101", "VT102", "VT220", "VT320", "VT420", "Unknown" }
{ "VT100", \
"VT101", \
"VT102", \
"VT220", \
"VT320", \
"VT420", \
"VT520", \
"Unknown" }
/* TTY command context. */
struct tty_ctx {