From 9d7972be8f555a5ece9a8e7b1b6275a9d7c0b212 Mon Sep 17 00:00:00 2001 From: james <> Date: Thu, 6 Mar 2008 17:21:41 +0000 Subject: *** empty log message *** --- src/ansi.c | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) (limited to 'src/ansi.c') diff --git a/src/ansi.c b/src/ansi.c index 39ad34d..a983962 100644 --- a/src/ansi.c +++ b/src/ansi.c @@ -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; -- cgit v1.2.3