=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tty.c,v retrieving revision 1.350 retrieving revision 1.351 diff -u -r1.350 -r1.351 --- src/usr.bin/tmux/tty.c 2020/04/16 14:25:35 1.350 +++ src/usr.bin/tmux/tty.c 2020/04/16 15:14:25 1.351 @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.350 2020/04/16 14:25:35 nicm Exp $ */ +/* $OpenBSD: tty.c,v 1.351 2020/04/16 15:14:25 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -364,7 +364,7 @@ if (tty_term_flag(tty->term, TTYC_XT)) { if (~tty->flags & TTY_HAVEDA) - tty_puts(tty, "\033[c"); + tty_puts(tty, "\033[>c"); if (~tty->flags & TTY_HAVEDSR) tty_puts(tty, "\033[1337n"); } else @@ -1175,8 +1175,7 @@ * background colour isn't default (because it doesn't work * after SGR 0). */ - if ((tty_get_flags(tty) & TERM_DECFRA) && - !COLOUR_DEFAULT(bg)) { + if ((tty_get_flags(tty) & TERM_DECFRA) && !COLOUR_DEFAULT(bg)) { xsnprintf(tmp, sizeof tmp, "\033[32;%u;%u;%u;%u$x", py + 1, px + 1, py + ny, px + nx); tty_puts(tty, tmp);