version 1.375, 2020/05/16 16:07:55 |
version 1.376, 2020/05/16 16:20:59 |
|
|
} |
} |
if (s != NULL && tty->cstyle != s->cstyle) { |
if (s != NULL && tty->cstyle != s->cstyle) { |
if (tty_term_has(tty->term, TTYC_SS)) { |
if (tty_term_has(tty->term, TTYC_SS)) { |
if (s->cstyle == 0 && |
if (s->cstyle == 0 && tty_term_has(tty->term, TTYC_SE)) |
tty_term_has(tty->term, TTYC_SE)) |
|
tty_putcode(tty, TTYC_SE); |
tty_putcode(tty, TTYC_SE); |
else |
else |
tty_putcode1(tty, TTYC_SS, s->cstyle); |
tty_putcode1(tty, TTYC_SS, s->cstyle); |
|
|
{ |
{ |
struct client *c = tty->client; |
struct client *c = tty->client; |
struct window *w = c->session->curw->window; |
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; |
u_int cx, cy, lines; |
|
|
lines = status_line_size(c); |
lines = status_line_size(c); |