From c34a79b152e1d27ed87417e6a940358990ab9e79 Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 15 Nov 2016 15:17:28 +0000 Subject: Turn on margins, with a couple of fixes (only limit to the pane for line feeds, and do not move cursor to end for full width panes). --- server-client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server-client.c') diff --git a/server-client.c b/server-client.c index 29f3e08b..e6ca8a42 100644 --- a/server-client.c +++ b/server-client.c @@ -1003,8 +1003,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_margin(&c->tty, 0, c->tty.sx - 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) -- cgit