aboutsummaryrefslogtreecommitdiff
path: root/tty-term.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-02-11 18:44:08 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-02-11 18:44:08 +0000
commit6c76aaca92e11e5f4d1a593081315b9b5e1da2e4 (patch)
tree28b5e53e73b73048d194373eb4f659ab40a479f9 /tty-term.c
parent03d531ebc6058f0c3d4f5d2a5471255d23c0b93e (diff)
downloadrtmux-6c76aaca92e11e5f4d1a593081315b9b5e1da2e4.tar.gz
rtmux-6c76aaca92e11e5f4d1a593081315b9b5e1da2e4.tar.bz2
rtmux-6c76aaca92e11e5f4d1a593081315b9b5e1da2e4.zip
Lose unnecessary cursor restores, fix a couple of placement bugs and remove unused CR.
Diffstat (limited to 'tty-term.c')
-rw-r--r--tty-term.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/tty-term.c b/tty-term.c
index c3aece42..14c6b6bc 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -1,4 +1,4 @@
-/* $Id: tty-term.c,v 1.10 2009-02-11 17:08:09 nicm Exp $ */
+/* $Id: tty-term.c,v 1.11 2009-02-11 18:44:08 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -39,7 +39,6 @@ struct tty_term_code_entry tty_term_codes[NTTYCODE] = {
{ TTYC_CLEAR, TTYCODE_STRING, "clear" },
{ TTYC_CNORM, TTYCODE_STRING, "cnorm" },
{ TTYC_COLORS, TTYCODE_NUMBER, "colors" },
- { TTYC_CR, TTYCODE_STRING, "cr" },
{ TTYC_CSR, TTYCODE_STRING, "csr" },
{ TTYC_CUD, TTYCODE_STRING, "cud" },
{ TTYC_CUD1, TTYCODE_STRING, "cud1" },
@@ -237,10 +236,6 @@ tty_term_find(char *name, int fd, char **cause)
xasprintf(cause, "terminal does not support clear");
goto error;
}
- if (!tty_term_has(term, TTYC_CR)) {
- xasprintf(cause, "terminal does not support cr");
- goto error;
- }
if (!tty_term_has(term, TTYC_RI)) {
xasprintf(cause, "terminal does not support ri");
goto error;