diff options
author | nicm <nicm> | 2016-11-15 15:17:28 +0000 |
---|---|---|
committer | nicm <nicm> | 2016-11-15 15:17:28 +0000 |
commit | c34a79b152e1d27ed87417e6a940358990ab9e79 (patch) | |
tree | 3f2ebd16172f71daca9c319c5384cecf140f7605 /server-client.c | |
parent | d81a5c630f53e2513feb29815c03f4c90435e450 (diff) | |
download | rtmux-c34a79b152e1d27ed87417e6a940358990ab9e79.tar.gz rtmux-c34a79b152e1d27ed87417e6a940358990ab9e79.tar.bz2 rtmux-c34a79b152e1d27ed87417e6a940358990ab9e79.zip |
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).
Diffstat (limited to 'server-client.c')
-rw-r--r-- | server-client.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) |