summaryrefslogtreecommitdiffstats
path: root/tty-features.c
diff options
context:
space:
mode:
authornicm <nicm>2020-04-20 13:38:48 +0000
committernicm <nicm>2020-04-20 13:38:48 +0000
commit135bb1edeeab3faae8001100aa7c173be9aa91e1 (patch)
tree893c6ff71e5d72a2df4ad59530c198848cbb0cc6 /tty-features.c
parentc91b4b2e142b5b3fc9ca88afec6bfa9b2711e01b (diff)
Change the Sync capability to be a string instead of a flag.
Diffstat (limited to 'tty-features.c')
-rw-r--r--tty-features.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tty-features.c b/tty-features.c
index 58cbae7b..b6934673 100644
--- a/tty-features.c
+++ b/tty-features.c
@@ -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 = {