Never draw last character: stops stray scrolling sometimes should status line be disabled.

This commit is contained in:
Nicholas Marriott
2009-02-12 00:18:05 +00:00
parent 5a04f74d81
commit e6ed1cc44f
3 changed files with 11 additions and 8 deletions

View File

@ -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) {