We ignore SIGWINCH until ready, so send a MSG_RESIZE immediately when becoming

ready.
This commit is contained in:
Nicholas Marriott 2013-03-11 21:30:48 +00:00
parent f8c86a9515
commit 064022548b

View File

@ -524,6 +524,7 @@ client_dispatch_wait(void *data)
event_del(&client_stdin); event_del(&client_stdin);
client_attached = 1; client_attached = 1;
client_write_server(MSG_RESIZE, NULL, 0);
break; break;
case MSG_STDIN: case MSG_STDIN:
if (datalen != 0) if (datalen != 0)