diff options
author | staffcvs <> | 2008-02-07 11:11:14 +0000 |
---|---|---|
committer | staffcvs <> | 2008-02-07 11:11:14 +0000 |
commit | a0799281f0f7d0f8cd3e69a861515f4efa40a453 (patch) | |
tree | f4c0270d19d3b6769a8e90e26cee7e8ec825b73a /src/libsympathy.c | |
parent | f300f5ca0eee189735e1103f8e93d57331aacb11 (diff) | |
download | sympathy-a0799281f0f7d0f8cd3e69a861515f4efa40a453.tar.gz sympathy-a0799281f0f7d0f8cd3e69a861515f4efa40a453.tar.bz2 sympathy-a0799281f0f7d0f8cd3e69a861515f4efa40a453.zip |
*** empty log message ***
Diffstat (limited to 'src/libsympathy.c')
-rw-r--r-- | src/libsympathy.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/libsympathy.c b/src/libsympathy.c index 5ffd04d..6dced0d 100644 --- a/src/libsympathy.c +++ b/src/libsympathy.c @@ -11,6 +11,9 @@ static char rcsid[] = /* * $Log$ + * Revision 1.9 2008/02/07 11:11:14 staffcvs + * *** empty log message *** + * * Revision 1.8 2008/02/07 00:43:27 james * *** empty log message *** * @@ -67,6 +70,7 @@ testy (void) char c; TTY *t; VT102 *v; + int i; signal (SIGINT, quit); @@ -105,8 +109,16 @@ testy (void) { } #endif - if (ansi_dispatch (&a, v)) + + switch (ansi_dispatch (&a, v)) { + case -1: break; + case 1: + ansi_getsize (&a); + ansi_reset (&a); + ansi_draw (&a, &v->crt); + break; + } if (FD_ISSET (t->fd, &rfd)) { |