X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=apps%2Fmainloop.c;h=07290e1a4125207adad489a9caf08df37ba2aed0;hb=95d068f1b4e8100d6501944eda3bd9ff73460514;hp=3f1c28dbfec8e1c3897776105b419c52bdd06504;hpb=ad0765aba1a59c7fd8a9300e3d47bad7d68e6477;p=sympathy.git diff --git a/apps/mainloop.c b/apps/mainloop.c index 3f1c28d..07290e1 100644 --- a/apps/mainloop.c +++ b/apps/mainloop.c @@ -11,6 +11,9 @@ static char rcsid[] = /* * $Log$ + * Revision 1.14 2008/02/27 01:31:14 james + * *** empty log message *** + * * Revision 1.13 2008/02/26 23:56:12 james * *** empty log message *** * @@ -391,7 +394,7 @@ msg_from_server (ANSI * a, IPC_Msg * m, Context * c) void mainloop (TTY * tty, Socket * server_socket, Socket * client_socket, - ANSI * ansi, Log * log, int nhistory) + ANSI * ansi, Log * log, int nhistory,int width) { fd_set rfds, wfds; Context c = { 0 }; @@ -402,7 +405,7 @@ mainloop (TTY * tty, Socket * server_socket, Socket * client_socket, c.tp = tty_parser_new (); c.u = utf8_new (); - c.v = vt102_new (); + c.v = vt102_new (width); c.h = history_new (nhistory); c.l = log; /* are we being fed by a tty or a socket */