diff options
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: client.c,v 1.93 2010-06-06 00:25:47 tcunha Exp $ */ +/* $Id: client.c,v 1.94 2010-06-06 00:30:34 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -180,6 +180,13 @@ client_main(void) set_signals(client_signal); /* + * Send a resize message immediately in case the terminal size has + * changed between the identify message to the server and the MSG_READY + * telling us to move into the client code. + */ + client_write_server(MSG_RESIZE, NULL, 0); + + /* * imsg_read in the first client poll loop (before the terminal has * been initialised) may have read messages into the buffer after the * MSG_READY switched to here. Process anything outstanding now to |