X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fvt102.c;h=586b7d91ccbefbead876589bb4926d56226a8c8c;hb=1191192d054da2be10658472c29f95e2494ea18f;hp=df7b6b12e02c22098f6ffa1dbbea938ff1534772;hpb=c06c4c87aef651f32419c6a63d8291b15bad5cf4;p=sympathy.git diff --git a/src/vt102.c b/src/vt102.c index df7b6b1..586b7d9 100644 --- a/src/vt102.c +++ b/src/vt102.c @@ -10,6 +10,18 @@ static char rcsid[] = "$Id$"; /* * $Log$ + * Revision 1.29 2008/02/15 03:32:07 james + * *** empty log message *** + * + * Revision 1.28 2008/02/14 10:34:30 james + * *** empty log message *** + * + * Revision 1.27 2008/02/14 02:46:45 james + * *** empty log message *** + * + * Revision 1.26 2008/02/14 01:55:57 james + * *** empty log message *** + * * Revision 1.25 2008/02/13 16:57:29 james * *** empty log message *** * @@ -1181,7 +1193,8 @@ vt102_parse_char (Context * c, int ch) v->current_line = v->pos; } - vt102_status_line (v, "VT102 foo bar baz I'm the urban spaceman baby"); + if (c->d) + cmd_show_status (c->d, c); } vt102_parse (Context * c, char *buf, int len) @@ -1205,6 +1218,10 @@ void vt102_send (Context * c, uint8_t key) { uint8_t ch; + + if (!c->t) + return; + #if 0 fprintf (stderr, "vts: %d(%c)\n", key, (key > 31) ? key : ' '); #endif @@ -1403,7 +1420,7 @@ vt102_reset (VT102 * v) vt102_save_state (v); - vt102_status_line (v, "VT102 foo bar baz I'm the urban spaceman baby"); + vt102_status_line (v, ""); }