From 4526270689c8f6339ae7cded16935f58d578a3ad Mon Sep 17 00:00:00 2001 From: Stephen Hurd Date: Mon, 25 Dec 2023 06:29:10 -0500 Subject: [PATCH] Be more specific in SyncTERM DA response. SyncTERM has constant values after CSI =, so may as well avoid false matches. --- src/lib/in.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/in.c b/src/lib/in.c index bdcca2199..93e5e086e 100644 --- a/src/lib/in.c +++ b/src/lib/in.c @@ -1842,7 +1842,7 @@ build_cflow_automaton(inputctx* ictx){ { "[?2;0;\\N;\\NS", xtsmgraphics_sixel_cb, }, { "[>83;\\N;0c", da2_screen_cb, }, { "[>\\N;\\N;\\Nc", da2_cb, }, - { "[=\\N;\\Dc", da1_syncterm_cb, }, // CSI da1 form as issued by SyncTERM + { "[=67;84;101;114;109;\\Dc", da1_syncterm_cb, }, // CSI da1 form as issued by SyncTERM // DCS (\eP...ST) { "P0+\\S", NULL, }, // negative XTGETTCAP { "P1+r\\S", tcap_cb, }, // positive XTGETTCAP