summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2013-03-25 11:38:58 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2013-03-25 11:38:58 +0000
commit55bf2d7c5e07f22df7a33b0ec44bd7b327b67968 (patch)
tree30757f063dba6862685350db30cd74281fac875a
parente4bb4d8ee784a3c2e36cb1ee405ecfdf43237ab9 (diff)
We ignore SIGWINCH until ready, so send a MSG_RESIZE immediately when
becoming ready.
-rw-r--r--usr.bin/tmux/client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/client.c b/usr.bin/tmux/client.c
index 9083f664b2f..6f58f16f832 100644
--- a/usr.bin/tmux/client.c
+++ b/usr.bin/tmux/client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: client.c,v 1.64 2013/03/25 10:11:45 nicm Exp $ */
+/* $OpenBSD: client.c,v 1.65 2013/03/25 11:38:57 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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)