diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-10-12 09:29:58 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-10-12 09:29:58 +0000 |
commit | 762459954f1b8f00f93780212053288d6096a611 (patch) | |
tree | 58673c22a78d96ac53bf5adde0116f4677ac5766 /server.c | |
parent | 972a6f565660a7ca5c0307c1085825a254fba20e (diff) | |
download | rtmux-762459954f1b8f00f93780212053288d6096a611.tar.gz rtmux-762459954f1b8f00f93780212053288d6096a611.tar.bz2 rtmux-762459954f1b8f00f93780212053288d6096a611.zip |
Similarly add a tty_cursor_pane function to tidy up most of the calls.
Diffstat (limited to 'server.c')
-rw-r--r-- | server.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1054,9 +1054,9 @@ server_handle_client(struct client *c) status = options_get_number(oo, "status"); if (!window_pane_visible(wp) || wp->yoff + s->cy >= c->tty.sy - status) - tty_cursor(&c->tty, 0, 0, 0, 0); + tty_cursor(&c->tty, 0, 0); else - tty_cursor(&c->tty, s->cx, s->cy, wp->xoff, wp->yoff); + tty_cursor(&c->tty, wp->xoff + s->cx, wp->yoff + s->cy); mode = s->mode; if (TAILQ_NEXT(TAILQ_FIRST(&w->panes), entry) != NULL && |