diff options
Diffstat (limited to 'src/ansi.c')
-rw-r--r-- | src/ansi.c | 24 |
1 files changed, 5 insertions, 19 deletions
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$"; /* * $Log$ + * Revision 1.45 2008/03/06 17:21:41 james + * *** empty log message *** + * * Revision 1.44 2008/03/06 16:49:05 james * *** empty log message *** * @@ -744,7 +747,7 @@ ansi_terminal_reset (ANSI * a) } -int +static int ansi_key (ANSI * a, Context * c, int key) { if (!c->d) @@ -956,7 +959,7 @@ ansi_parse (ANSI * a, Context * c, char *buf, int len) ansi_parse_char (a, c, *(buf++)); } -int +static int ansi_dispatch (ANSI * a, Context * c) { char buf[1024]; @@ -972,23 +975,6 @@ ansi_dispatch (ANSI * a, Context * c) if (red <= 0) return red; -#if 0 - if (*buf == 3) - return -1; -#endif - -#if 0 - if (*buf == 2) - { -#if 0 - a->history_ptr = c->h->wptr; - HISTORY_INC (c->h, a->history_ptr); -#endif - return -1; - } -#endif - - ansi_parse (a, c, buf, red); return 0; |