sync patch: remove redundant inner #if for DECRQM -- DEC Request Mode case statement ref. #179

This commit is contained in:
Bakkeby 2025-10-25 14:04:52 +02:00
parent 46a5982e9d
commit d12d2ad1c2

2
st.c
View file

@ -2455,12 +2455,10 @@ csihandle(void)
case '$': /* DECRQM -- DEC Request Mode (private) */
if (csiescseq.mode[1] == 'p' && csiescseq.priv) {
switch (csiescseq.arg[0]) {
#if SYNC_PATCH
case 2026:
/* https://gist.github.com/christianparpart/d8a62cc1ab659194337d73e399004036 */
ttywrite(su ? "\033[?2026;1$y" : "\033[?2026;2$y", 11, 0);
break;
#endif // SYNC_PATCH
default:
goto unknown;
}