aboutsummaryrefslogtreecommitdiff
path: root/server-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'server-client.c')
-rw-r--r--server-client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/server-client.c b/server-client.c
index 2a3af8d5..471cec2c 100644
--- a/server-client.c
+++ b/server-client.c
@@ -1011,7 +1011,8 @@ server_client_reset_state(struct client *c)
if (c->flags & (CLIENT_CONTROL|CLIENT_SUSPENDED))
return;
- tty_region(&c->tty, 0, c->tty.sy - 1);
+ tty_region_off(&c->tty);
+ tty_margin_off(&c->tty);
status = options_get_number(oo, "status");
if (!window_pane_visible(wp) || wp->yoff + s->cy >= c->tty.sy - status)