From c101cdd2dbb5f043b79f653cba87badee23096d0 Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 14 Nov 2023 15:38:33 +0000 Subject: [PATCH] Use SM 2026 for Sync which is more widely supported now. --- usr.bin/tmux/tty-features.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/tmux/tty-features.c b/usr.bin/tmux/tty-features.c index de6652c6bfa..6e75ebcf2c9 100644 --- a/usr.bin/tmux/tty-features.c +++ b/usr.bin/tmux/tty-features.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty-features.c,v 1.29 2023/09/02 09:17:23 nicm Exp $ */ +/* $OpenBSD: tty-features.c,v 1.30 2023/11/14 15:38:33 nicm Exp $ */ /* * Copyright (c) 2020 Nicholas Marriott @@ -216,7 +216,7 @@ static const struct tty_feature tty_feature_strikethrough = { /* Terminal supports synchronized updates. */ static const char *const tty_feature_sync_capabilities[] = { - "Sync=\\EP=%p1%ds\\E\\\\", + "Sync=\\E[?2026%?%p1%{1}%-%tl%eh%;", NULL }; static const struct tty_feature tty_feature_sync = { -- 2.20.1