X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=apps%2Fclient.c;h=28526f223a7f37dde24e3342f69da982c9335d9f;hb=cd414751eb1367ac4d0da57630785fed7389d982;hp=90bcf609bd2528e7000db6295082d92137b9eca6;hpb=d20265fbf33e22b30b5c2879cff7ae5c22d3fc29;p=sympathy.git diff --git a/apps/client.c b/apps/client.c index 90bcf60..28526f2 100644 --- a/apps/client.c +++ b/apps/client.c @@ -10,6 +10,9 @@ static char rcsid[] = "$Id$"; /* * $Log$ + * Revision 1.4 2008/02/14 10:34:30 james + * *** empty log message *** + * * Revision 1.3 2008/02/14 02:46:44 james * *** empty log message *** * @@ -24,6 +27,8 @@ static char rcsid[] = "$Id$"; #include #include "client.h" + //vt102_status_line (v, "VT102 foo bar baz I'm the urban spaceman baby"); + static void server_msg (IPC_Msg * m, Context * c) { @@ -47,6 +52,9 @@ server_msg (IPC_Msg * m, Context * c) case IPC_MSG_TYPE_TERM: vt102_parse (c, m->term.term, m->term.len); break; + case IPC_MSG_TYPE_STATUS: + vt102_status_line(c->v,m->status.status); + break; default: fprintf (stderr, "Unhandeled message type %d\n", m->hdr.type); }