From 9be6da03707c2bbde735b7f84a48591159244eff Mon Sep 17 00:00:00 2001 From: Bakkeby Date: Tue, 8 Jul 2025 15:11:17 +0200 Subject: [PATCH] sync: mode 2026 correction ref. #179 --- st.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/st.c b/st.c index d5d6eca..794fdcb 100644 --- a/st.c +++ b/st.c @@ -2041,9 +2041,9 @@ tsetmode(int priv, int set, const int *args, int narg) #endif // SIXEL_PATCH #if SYNC_PATCH case 2026: - if (set == 1) { + if (set) { tsync_begin(); - } else if (set == 2) { + } else { tsync_end(); } break;