summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tty-term.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tmux/tty-term.c')
-rw-r--r--usr.bin/tmux/tty-term.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/tmux/tty-term.c b/usr.bin/tmux/tty-term.c
index 195ed55e546..d3f5d664619 100644
--- a/usr.bin/tmux/tty-term.c
+++ b/usr.bin/tmux/tty-term.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty-term.c,v 1.7 2009/08/05 19:05:02 nicm Exp $ */
+/* $OpenBSD: tty-term.c,v 1.8 2009/08/21 12:29:59 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -338,10 +338,6 @@ tty_term_find(char *name, int fd, const char *overrides, char **cause)
"terminal does not support ich1 or ich or smir and rmir");
goto error;
}
- if (!tty_term_has(term, TTYC_DCH1) && !tty_term_has(term, TTYC_DCH)) {
- xasprintf(cause, "terminal does not support dch1 or dch");
- goto error;
- }
/*
* Figure out if terminal support default colours. AX is a screen