diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-11-12 08:05:23 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-11-12 08:05:23 +0000 |
commit | 5ae542e7eed70cf37a658356f37a913a8c4aefef (patch) | |
tree | 7ade447e2878639e1c8f7d0d8919cddf4aff17a3 /tty.c | |
parent | d9deb4b530e4030ad374ed679b715725d2b951f9 (diff) |
Emulate the ri (reverse index) capability: this allows tmux to at least start
on Sun consoles (TERM=sun or sun-color), even if there appear to still be
problems on some boxes (my Blade 100 is fine but edd's Blade 1000 shows odd
screen corruption).
Diffstat (limited to 'tty.c')
-rw-r--r-- | tty.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -711,7 +711,8 @@ tty_cmd_reverseindex(struct tty *tty, const struct tty_ctx *ctx) return; if (wp->xoff != 0 || screen_size_x(s) < tty->sx || - !tty_term_has(tty->term, TTYC_CSR)) { + !tty_term_has(tty->term, TTYC_CSR) || + !tty_term_has(tty->term, TTYC_RI)) { tty_redraw_region(tty, ctx); return; } |