From b6ea9d2dbcfe734d4dd36ca1f40c698f1ee64be0 Mon Sep 17 00:00:00 2001 From: Craig Barnes Date: Wed, 16 Feb 2022 14:08:22 +0000 Subject: [PATCH] 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 --- foot.info | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,