summaryrefslogtreecommitdiffstats
path: root/tty-term.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-08-21 12:29:59 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-08-21 12:29:59 +0000
commit926b52b6002164b4bc82624674d488e7fe1e42c2 (patch)
tree0db247f61fdcfeeeda5f30cb95344bf653224070 /tty-term.c
parent915a1913e19dd254689f51bc228686f83f2d77ee (diff)
Emulate dch/dch1 if missing by redrawing the entire line.
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 37826dab..50b2520a 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -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