diff options
author | Thomas Adam <thomas@xteddy.org> | 2022-11-11 10:01:09 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2022-11-11 10:01:09 +0000 |
commit | 1536b7e206e51488c37379df22b8c58ef3febc28 (patch) | |
tree | 82b6a369e35326c35c7f6149fbdcd348cfb8ce60 /tty-features.c | |
parent | e46d0632a5ed8e9fbc90ae49039e84450fba4925 (diff) | |
parent | 20da16737715a183a019f1072735614615b5fd1c (diff) |
Merge branch 'obsd-master'
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 8ed61e9a..dca40fad 100644 --- a/tty-features.c +++ b/tty-features.c @@ -345,6 +345,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, + TERM_SIXEL +}; + /* Available terminal features. */ static const struct tty_feature *const tty_features[] = { &tty_feature_256, @@ -362,6 +373,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, |