chiark / gitweb /
*** empty log message ***
[sympathy.git] / apps / client.c
index 90bcf609bd2528e7000db6295082d92137b9eca6..28526f223a7f37dde24e3342f69da982c9335d9f 100644 (file)
@@ -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 <sympathy.h>
 #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);
     }