aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Barnes <craigbarnes@protonmail.com>2022-02-16 14:08:22 +0000
committerCraig Barnes <craigbarnes@protonmail.com>2022-02-16 14:08:22 +0000
commitb6ea9d2dbcfe734d4dd36ca1f40c698f1ee64be0 (patch)
treef541ae2228a5f29eb658dac27f00afafeaf7813c
parentdoc: ctlseq: tweak formatting of OSC 22 sequence slightly, for clarity (diff)
terminfo: use DECSET 2026 instead of DCS sequences for Sync capability
Even though it makes little difference to foot which is used in the terminfo entry, DECSET 2026 has some advantages[1] over the DCS sequences and we should probably promote the better of the 2 where possible. Note: the terminfo string was taken from Nicholas Marriott's suggestion[2] in the terminal-wg discussion. [1]: https://codeberg.org/dnkl/foot/issues/459 [2]: https://gitlab.freedesktop.org/terminal-wg/specifications/-/merge_requests/2#note_973680
-rw-r--r--foot.info2
1 files changed, 1 insertions, 1 deletions
diff --git a/foot.info b/foot.info
index f99e2aab..2dae3eca 100644
--- a/foot.info
+++ b/foot.info
@@ -34,7 +34,7 @@
Ms=\E]52;%p1%s;%p2%s\E\\,
Se=\E[ q,
Ss=\E[%p1%d q,
- Sync=\EP=%p1%ds\E\\,
+ Sync=\E[?2026%?%p1%{1}%-%tl%eh,
XM=\E[?1006;1000%?%p1%{1}%=%th%el%;,
acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
bel=^G,