aboutsummaryrefslogtreecommitdiff
path: root/tty-term.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-02-12 00:18:05 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-02-12 00:18:05 +0000
commite6ed1cc44f2cba841434781dc42384e48e251cc6 (patch)
tree8c8a118b2d7eed5003b6af9037cfef2119c985e5 /tty-term.c
parent5a04f74d81f99d98c3c2adff0da6bdfe81843725 (diff)
downloadrtmux-e6ed1cc44f2cba841434781dc42384e48e251cc6.tar.gz
rtmux-e6ed1cc44f2cba841434781dc42384e48e251cc6.tar.bz2
rtmux-e6ed1cc44f2cba841434781dc42384e48e251cc6.zip
Never draw last character: stops stray scrolling sometimes should status line be disabled.
Diffstat (limited to 'tty-term.c')
-rw-r--r--tty-term.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tty-term.c b/tty-term.c
index f273e03e..ea970f47 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -1,4 +1,4 @@
-/* $Id: tty-term.c,v 1.13 2009-02-11 23:16:44 nicm Exp $ */
+/* $Id: tty-term.c,v 1.14 2009-02-12 00:18:05 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -218,6 +218,9 @@ tty_term_find(char *name, int fd, char **cause)
for (i = 0; i < NTTYCODE; i++) {
ent = &tty_term_codes[i];
+// if (ent->code == TTYC_CSR)/*XXX*/
+// continue;
+
code = &term->codes[ent->code];
code->type = TTYCODE_NONE;
switch (ent->type) {