diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-08-21 21:15:00 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-08-21 21:15:00 +0000 |
commit | 633e74ef805f30049b808c067963aba3309f0d47 (patch) | |
tree | 551d226fd70cc35b4127748cfb8ebc34e6ae342f /tty-term.c | |
parent | 1fa8a8f4a6a2d942896fc4c5c04563826c9a6f70 (diff) | |
download | rtmux-633e74ef805f30049b808c067963aba3309f0d47.tar.gz rtmux-633e74ef805f30049b808c067963aba3309f0d47.tar.bz2 rtmux-633e74ef805f30049b808c067963aba3309f0d47.zip |
Sync OpenBSD patchset 287:
Emulate dch/dch1 if missing by redrawing the entire line.
Diffstat (limited to 'tty-term.c')
-rw-r--r-- | tty-term.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -1,4 +1,4 @@ -/* $Id: tty-term.c,v 1.28 2009-08-09 16:52:06 tcunha Exp $ */ +/* $Id: tty-term.c,v 1.29 2009-08-21 21:15:00 tcunha Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net> @@ -337,10 +337,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 |