aboutsummaryrefslogtreecommitdiffstats
path: root/src/ansi.c
diff options
context:
space:
mode:
authorjames <>2008-03-06 17:21:41 +0000
committerjames <>2008-03-06 17:21:41 +0000
commit9d7972be8f555a5ece9a8e7b1b6275a9d7c0b212 (patch)
tree7410a8d10e480214213ab74c62ab1d059fa878f5 /src/ansi.c
parent6fb644311ee9bf169a12bb9b2d9b081c16fc08f0 (diff)
downloadsympathy-9d7972be8f555a5ece9a8e7b1b6275a9d7c0b212.tar.gz
sympathy-9d7972be8f555a5ece9a8e7b1b6275a9d7c0b212.tar.bz2
sympathy-9d7972be8f555a5ece9a8e7b1b6275a9d7c0b212.zip
*** empty log message ***
Diffstat (limited to 'src/ansi.c')
-rw-r--r--src/ansi.c24
1 files changed, 5 insertions, 19 deletions
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;