summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2013-03-25 11:38:57 +0000
committerNicholas Marriott <nicm@openbsd.org>2013-03-25 11:38:57 +0000
commit88b92df8492092fbbab37a3ddd2390e0eee2cb24 (patch)
tree708941b8ea65d6f3ecdb09f6169c62454b09cd8e
parente4c0730bf1e13ac256a58db7ee7a58c36c8980f4 (diff)
We ignore SIGWINCH until ready, so send a MSG_RESIZE immediately when
becoming ready.
-rw-r--r--client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/client.c b/client.c
index f3e5dbdc..70e7f1ec 100644
--- a/client.c
+++ b/client.c
@@ -520,6 +520,7 @@ client_dispatch_wait(void *data)
event_del(&client_stdin);
client_attached = 1;
+ client_write_server(MSG_RESIZE, NULL, 0);
break;
case MSG_STDIN:
if (datalen != 0)