Skip to content

Commit

Permalink
Be more specific in SyncTERM DA response.
Browse files Browse the repository at this point in the history
SyncTERM has constant values after CSI =, so may as well avoid false
matches.
  • Loading branch information
RealDeuce authored and dankamongmen committed Dec 31, 2024
1 parent b8bdc44 commit 4526270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/in.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4526270

Please sign in to comment.