aboutsummaryrefslogtreecommitdiffstats
path: root/apps/mainloop.c
diff options
context:
space:
mode:
authorjames <>2008-02-27 01:31:14 +0000
committerjames <>2008-02-27 01:31:14 +0000
commit4add819b42c292ee2a6fc4aeda782a447b1bcf27 (patch)
tree17b7f7ce7e45c6c6262db7cfeb548a4d6f1006e1 /apps/mainloop.c
parent74feb0db53bf6ed2d53ca59e3aed001f1160e62a (diff)
downloadsympathy-4add819b42c292ee2a6fc4aeda782a447b1bcf27.tar.gz
sympathy-4add819b42c292ee2a6fc4aeda782a447b1bcf27.tar.bz2
sympathy-4add819b42c292ee2a6fc4aeda782a447b1bcf27.zip
*** empty log message ***
Diffstat (limited to 'apps/mainloop.c')
-rw-r--r--apps/mainloop.c7
1 files changed, 5 insertions, 2 deletions
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 */