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

becoming ready.
This commit is contained in:
Nicholas Marriott 2013-03-25 11:38:57 +00:00
parent e4c0730bf1
commit 88b92df849

View File

@ -520,6 +520,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)