aboutsummaryrefslogtreecommitdiff
path: root/tty-term.c
diff options
context:
space:
mode:
authornicm <nicm>2022-03-24 09:05:57 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2022-04-06 14:19:51 +0100
commit89a0046ad360d7a499732e327bae69b7e4b2536e (patch)
tree03ab2c55c4a70e18be56715ab86a9643690330b5 /tty-term.c
parent60a0a904e007390b8fba484eea9461bf095bff7a (diff)
downloadrtmux-89a0046ad360d7a499732e327bae69b7e4b2536e.tar.gz
rtmux-89a0046ad360d7a499732e327bae69b7e4b2536e.tar.bz2
rtmux-89a0046ad360d7a499732e327bae69b7e4b2536e.zip
Add a capability for OSC 7 and use it similarly to how the title is set
(and controlled by the same set-titles option). GitHub issue 3127.
Diffstat (limited to 'tty-term.c')
-rw-r--r--tty-term.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tty-term.c b/tty-term.c
index 8e07da05..fdf0c4fa 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -277,6 +277,7 @@ static const struct tty_term_code_entry tty_term_codes[] = {
[TTYC_SMUL] = { TTYCODE_STRING, "smul" },
[TTYC_SMXX] = { TTYCODE_STRING, "smxx" },
[TTYC_SS] = { TTYCODE_STRING, "Ss" },
+ [TTYC_SWD] = { TTYCODE_STRING, "Swd" },
[TTYC_SYNC] = { TTYCODE_STRING, "Sync" },
[TTYC_TC] = { TTYCODE_FLAG, "Tc" },
[TTYC_TSL] = { TTYCODE_STRING, "tsl" },