diff options
author | nicm <nicm> | 2023-09-07 07:19:21 +0000 |
---|---|---|
committer | nicm <nicm> | 2023-09-07 07:19:21 +0000 |
commit | c99f9e92e0abaf5f359aa251b9ba677e136f1009 (patch) | |
tree | d96d2295561f34f41a413734b239e05215600e3b /tty-keys.c | |
parent | 43e5e80343185e69a1b864fc48095ede0b898180 (diff) |
Accept 65 for VT525 as well.
Diffstat (limited to 'tty-keys.c')
-rw-r--r-- | tty-keys.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1314,11 +1314,16 @@ tty_keys_device_attributes(struct tty *tty, const char *buf, size_t len, break; } - /* Add terminal features. */ + /* + * Add terminal features. Technically, VT420 and VT525 do not support + * SIXEL, but some modern terminals report it anyway so we accept it + * here too. + */ switch (p[0]) { case 62: /* VT220 */ case 63: /* VT320 */ case 64: /* VT420 */ + case 65: /* VT525 */ for (i = 1; i < n; i++) { log_debug("%s: DA feature: %d", c->name, p[i]); if (p[i] == 4) |