=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tty.c,v retrieving revision 1.375 retrieving revision 1.376 diff -u -r1.375 -r1.376 --- src/usr.bin/tmux/tty.c 2020/05/16 16:07:55 1.375 +++ src/usr.bin/tmux/tty.c 2020/05/16 16:20:59 1.376 @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.375 2020/05/16 16:07:55 nicm Exp $ */ +/* $OpenBSD: tty.c,v 1.376 2020/05/16 16:20:59 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -693,8 +693,7 @@ } if (s != NULL && tty->cstyle != s->cstyle) { if (tty_term_has(tty->term, TTYC_SS)) { - if (s->cstyle == 0 && - tty_term_has(tty->term, TTYC_SE)) + if (s->cstyle == 0 && tty_term_has(tty->term, TTYC_SE)) tty_putcode(tty, TTYC_SE); else tty_putcode1(tty, TTYC_SS, s->cstyle); @@ -792,7 +791,7 @@ { struct client *c = tty->client; struct window *w = c->session->curw->window; - struct window_pane *wp = w->active; + struct window_pane *wp = server_client_get_pane(c); u_int cx, cy, lines; lines = status_line_size(c);