Emulate CSR with existing screen data on old/stupid terminals which don't support it.

This commit is contained in:
Nicholas Marriott
2009-02-11 19:06:58 +00:00
parent 6c76aaca92
commit d5eaf3a9f6
4 changed files with 92 additions and 19 deletions

View File

@ -1,4 +1,4 @@
/* $Id: tty-term.c,v 1.11 2009-02-11 18:44:08 nicm Exp $ */
/* $Id: tty-term.c,v 1.12 2009-02-11 19:06:58 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@ -240,10 +240,6 @@ tty_term_find(char *name, int fd, char **cause)
xasprintf(cause, "terminal does not support ri");
goto error;
}
if (!tty_term_has(term, TTYC_CSR)) {
xasprintf(cause, "terminal does not support csr");
goto error;
}
if (!tty_term_has(term, TTYC_CUP)) {
xasprintf(cause, "terminal does not support cup");
goto error;