mirror of
https://github.com/tmux/tmux.git
synced 2026-10-13 06:04:34 +00:00
Add Kitty feature detection and sixel to WezTerm.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
/* $OpenBSD: tty-features.c,v 1.46 2026/09/24 08:16:13 nicm Exp $ */
|
/* $OpenBSD: tty-features.c,v 1.47 2026/10/12 12:26:46 nicm Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2020 Nicholas Marriott <nicholas.marriott@gmail.com>
|
* Copyright (c) 2020 Nicholas Marriott <nicholas.marriott@gmail.com>
|
||||||
@@ -628,6 +628,7 @@ tty_default_features(struct client *c, const char *name, u_int version)
|
|||||||
"focus,"
|
"focus,"
|
||||||
"hyperlinks,"
|
"hyperlinks,"
|
||||||
"margins,"
|
"margins,"
|
||||||
|
"sixel,"
|
||||||
"usstyle"
|
"usstyle"
|
||||||
},
|
},
|
||||||
{ .name = "ghostty",
|
{ .name = "ghostty",
|
||||||
@@ -644,6 +645,17 @@ tty_default_features(struct client *c, const char *name, u_int version)
|
|||||||
"usstyle,"
|
"usstyle,"
|
||||||
"progressbar"
|
"progressbar"
|
||||||
},
|
},
|
||||||
|
{ .name = "kitty",
|
||||||
|
.features = TTY_FEATURES_BASE_MODERN_XTERM ","
|
||||||
|
"ccolour,"
|
||||||
|
"cstyle,"
|
||||||
|
"extkeys,"
|
||||||
|
"focus,"
|
||||||
|
"hyperlinks,"
|
||||||
|
"osc7,"
|
||||||
|
"sync,"
|
||||||
|
"usstyle"
|
||||||
|
},
|
||||||
{ .name = "Rio",
|
{ .name = "Rio",
|
||||||
.features = TTY_FEATURES_BASE_MODERN_XTERM ","
|
.features = TTY_FEATURES_BASE_MODERN_XTERM ","
|
||||||
"ccolour,"
|
"ccolour,"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* $OpenBSD: tty-keys.c,v 1.216 2026/10/06 17:49:45 nicm Exp $ */
|
/* $OpenBSD: tty-keys.c,v 1.217 2026/10/12 12:26:46 nicm Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
|
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
|
||||||
@@ -1675,6 +1675,8 @@ tty_keys_extended_device_attributes(struct tty *tty, const char *buf,
|
|||||||
tty_default_features(c, "mintty", 0);
|
tty_default_features(c, "mintty", 0);
|
||||||
else if (strncmp(tmp, "foot(", 5) == 0)
|
else if (strncmp(tmp, "foot(", 5) == 0)
|
||||||
tty_default_features(c, "foot", 0);
|
tty_default_features(c, "foot", 0);
|
||||||
|
else if (strncmp(tmp, "kitty(", 6) == 0)
|
||||||
|
tty_default_features(c, "kitty", 0);
|
||||||
else if (strncmp(tmp, "WezTerm ", 7) == 0)
|
else if (strncmp(tmp, "WezTerm ", 7) == 0)
|
||||||
tty_default_features(c, "WezTerm", 0);
|
tty_default_features(c, "WezTerm", 0);
|
||||||
else if (strncmp(tmp, "ghostty ", 8) == 0)
|
else if (strncmp(tmp, "ghostty ", 8) == 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user