summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tty-features.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tmux/tty-features.c')
-rw-r--r--usr.bin/tmux/tty-features.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/tmux/tty-features.c b/usr.bin/tmux/tty-features.c
index 1ed9a37505f..6fa18b22d8e 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.1 2020/04/20 13:25:36 nicm Exp $ */
+/* $OpenBSD: tty-features.c,v 1.2 2020/04/20 13:38:48 nicm Exp $ */
/*
* Copyright (c) 2020 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -35,7 +35,6 @@
* Also:
* - XT is used to decide whether to send DA and DSR,
* - DECSLRM and DECFRA use a flag instead of capabilities.
- * - Sync is a flag rather than a string capability.
* - UTF-8 is a separate flag on the client; needed for unattached clients.
*/
@@ -148,7 +147,7 @@ static struct tty_feature tty_feature_ccolour = {
/* Terminal supports synchronized updates. */
static const char *tty_feature_sync_capabilities[] = {
- "Sync",
+ "Sync=\\EP=%p1%ds\\E\\\\",
NULL
};
static struct tty_feature tty_feature_sync = {