aboutsummaryrefslogtreecommitdiffstats
path: root/src/ansi.c
diff options
context:
space:
mode:
authorjames <>2008-02-14 01:55:57 +0000
committerjames <>2008-02-14 01:55:57 +0000
commite65130e63d050d37b9605339c0abfdcef73c4472 (patch)
tree224026bf153dd62bd3ad0e125d505ee2235b8563 /src/ansi.c
parentccc64e79a870d37ddff7afa92a41fd9a8dbecd42 (diff)
downloadsympathy-e65130e63d050d37b9605339c0abfdcef73c4472.tar.gz
sympathy-e65130e63d050d37b9605339c0abfdcef73c4472.tar.bz2
sympathy-e65130e63d050d37b9605339c0abfdcef73c4472.zip
*** empty log message ***
Diffstat (limited to 'src/ansi.c')
-rw-r--r--src/ansi.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/ansi.c b/src/ansi.c
index 7f44957..7ec9abd 100644
--- a/src/ansi.c
+++ b/src/ansi.c
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$";
/*
* $Log$
+ * Revision 1.20 2008/02/14 01:55:57 james
+ * *** empty log message ***
+ *
* Revision 1.19 2008/02/13 16:57:29 james
* *** empty log message ***
*
@@ -621,7 +624,7 @@ ansi_flush_escape (ANSI * a, Context * c)
for (i = 0; i < p->escape_ptr; ++i)
{
- vt102_send (c, p->escape_buf[i]);
+ term_send (c, p->escape_buf[i]);
}
p->escape_ptr = 0;
@@ -640,11 +643,11 @@ ansi_parse_deckey (ANSI * a, Context * c)
if ((p->escape_buf[2] >= 'A') || (p->escape_buf[2] <= 'Z'))
{
- vt102_send (c, KEY_UP + (p->escape_buf[2] - 'A'));
+ term_send (c, KEY_UP + (p->escape_buf[2] - 'A'));
}
else if ((p->escape_buf[2] >= 'a') || (p->escape_buf[2] <= 'z'))
{
- vt102_send (c, KEY_154 + (p->escape_buf[2] - 'a'));
+ term_send (c, KEY_154 + (p->escape_buf[2] - 'a'));
}
else
{
@@ -667,7 +670,7 @@ ansi_parse_ansikey (ANSI * a, Context * c)
}
if ((p->escape_buf[2] >= '0') || (p->escape_buf[2] <= '9'))
{
- vt102_send (c, KEY_180 + (p->escape_buf[2] - '0'));
+ term_send (c, KEY_180 + (p->escape_buf[2] - '0'));
}
else
{
@@ -780,7 +783,7 @@ ansi_parse_char (ANSI * a, Context * c, int ch)
}
else
{
- vt102_send (c, ch);
+ term_send (c, ch);
}
}