/*
* $Log$
+ * Revision 1.26 2008/02/20 20:16:07 james
+ * *** empty log message ***
+ *
+ * Revision 1.25 2008/02/20 19:44:37 james
+ * @@
+ *
* Revision 1.24 2008/02/20 19:36:06 james
* @@
*
if (!a->terminal)
- return;
+ return 0;
red = a->terminal->recv (a->terminal, buf, sizeof (buf));
if (red <= 0)
}
-ANSI *ansi_new_from_terminal(ANSI *a,TTY *t)
+ANSI *ansi_new_from_terminal(TTY *t)
{
ANSI *ret;
ret->reset=ansi_reset;
ret->terminal_reset=ansi_terminal_reset;
ret->close=ansi_free;
+ret->dispatch=ansi_dispatch;
+return ret;
}