summaryrefslogtreecommitdiffstats
path: root/tty-term.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-11-12 08:05:23 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-11-12 08:05:23 +0000
commit5ae542e7eed70cf37a658356f37a913a8c4aefef (patch)
tree7ade447e2878639e1c8f7d0d8919cddf4aff17a3 /tty-term.c
parentd9deb4b530e4030ad374ed679b715725d2b951f9 (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-term.c')
-rw-r--r--tty-term.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tty-term.c b/tty-term.c
index 22fdcb60..09ff9b1e 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -378,10 +378,6 @@ tty_term_find(char *name, int fd, const char *overrides, char **cause)
xasprintf(cause, "terminal does not support clear");
goto error;
}
- if (!tty_term_has(term, TTYC_RI)) {
- xasprintf(cause, "terminal does not support ri");
- goto error;
- }
if (!tty_term_has(term, TTYC_CUP)) {
xasprintf(cause, "terminal does not support cup");
goto error;