=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tty-features.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- src/usr.bin/tmux/tty-features.c 2020/04/20 13:25:36 1.1 +++ src/usr.bin/tmux/tty-features.c 2020/04/20 13:38:48 1.2 @@ -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 @@ -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 @@ /* 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 = {