version 1.16, 2009/08/07 15:39:10 |
version 1.17, 2009/08/10 19:42:03 |
|
|
|
|
/* Ensure cursor position and mode settings. */ |
/* Ensure cursor position and mode settings. */ |
status = options_get_number(&c->session->options, "status"); |
status = options_get_number(&c->session->options, "status"); |
|
tty_region(&c->tty, 0, c->tty.sy - 1, 0); |
if (!window_pane_visible(wp) || wp->yoff + s->cy >= c->tty.sy - 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, 0, 0); |
else |
else |