From 135bb1edeeab3faae8001100aa7c173be9aa91e1 Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 20 Apr 2020 13:38:48 +0000 Subject: Change the Sync capability to be a string instead of a flag. --- tty-features.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tty-features.c') 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 = { -- cgit