diff options
author | nicm <nicm> | 2022-11-11 08:37:55 +0000 |
---|---|---|
committer | nicm <nicm> | 2022-11-11 08:37:55 +0000 |
commit | fe475bd856ff1f98bf8a4cd9b6aedd5da81a7e3c (patch) | |
tree | ba0e97250decc80f35884724c7cbf57b980aa935 /tty-features.c | |
parent | 079f48e8a6131b2ef46b370c0905252d29d9d815 (diff) | |
download | rtmux-fe475bd856ff1f98bf8a4cd9b6aedd5da81a7e3c.tar.gz rtmux-fe475bd856ff1f98bf8a4cd9b6aedd5da81a7e3c.tar.bz2 rtmux-fe475bd856ff1f98bf8a4cd9b6aedd5da81a7e3c.zip |
Parse primary device attributes as well as secondary and add a SIXEL
flag (not used yet), from Anindya Mukherjee.
Diffstat (limited to 'tty-features.c')
-rw-r--r-- | tty-features.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tty-features.c b/tty-features.c index 261cb2b8..b1268827 100644 --- a/tty-features.c +++ b/tty-features.c @@ -335,6 +335,17 @@ static const struct tty_feature tty_feature_ignorefkeys = { 0 }; +/* Terminal has sixel capability. */ +static const char *const tty_feature_sixel_capabilities[] = { + "Sxl", + NULL +}; +static const struct tty_feature tty_feature_sixel = { + "sixel", + tty_feature_sixel_capabilities, + 0 +}; + /* Available terminal features. */ static const struct tty_feature *const tty_features[] = { &tty_feature_256, @@ -352,6 +363,7 @@ static const struct tty_feature *const tty_features[] = { &tty_feature_overline, &tty_feature_rectfill, &tty_feature_rgb, + &tty_feature_sixel, &tty_feature_strikethrough, &tty_feature_sync, &tty_feature_title, |