aboutsummaryrefslogtreecommitdiff
path: root/tty-term.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-11-13 16:57:21 +0000
committerTiago Cunha <tcunha@gmx.com>2009-11-13 16:57:21 +0000
commit2bd39071d3e5add8e734d31566574f7dbf54ee4b (patch)
tree0bd5153c783fdb1fb8d17649226fdd778b81a2eb /tty-term.c
parentac6b1a817b635689543138cbfa43cfcd1f762a53 (diff)
downloadrtmux-2bd39071d3e5add8e734d31566574f7dbf54ee4b.tar.gz
rtmux-2bd39071d3e5add8e734d31566574f7dbf54ee4b.tar.bz2
rtmux-2bd39071d3e5add8e734d31566574f7dbf54ee4b.zip
Sync OpenBSD patchset 532:
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.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/tty-term.c b/tty-term.c
index 98957b17..53f63aa3 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -1,4 +1,4 @@
-/* $Id: tty-term.c,v 1.35 2009-10-28 23:01:44 tcunha Exp $ */
+/* $Id: tty-term.c,v 1.36 2009-11-13 16:57:21 tcunha Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -377,10 +377,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;