summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2023-11-14 15:38:34 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2023-11-14 15:38:34 +0000
commitb62169d7907f978c8de73527bfb700007ebb4acb (patch)
tree4a8f3e24f0a3919d6dad43e8e98c7787ab5fcadf /usr.bin
parent314083c57534890e7e8f7df86c9ef9286876eb45 (diff)
Use SM 2026 for Sync which is more widely supported now.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/tmux/tty-features.c4
1 files 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 <nicholas.marriott@gmail.com>
@@ -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 = {