mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Parse primary device attributes as well as secondary and add a SIXEL
flag (not used yet), from Anindya Mukherjee.
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user