summaryrefslogtreecommitdiffstats
path: root/tty-term.c
diff options
context:
space:
mode:
authornicm <nicm>2022-03-24 09:05:57 +0000
committernicm <nicm>2022-03-24 09:05:57 +0000
commit792d13af49f2550a9a8d11b0099528628957a1a0 (patch)
tree055dafc23a9ceb88e92a34ac67ad7cb70c7aca7b /tty-term.c
parent6a1706a62fb2442326cd37d84ff8b0d39bf0b7a6 (diff)
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 b3d01850..61eda56d 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -274,6 +274,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" },