diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2013-03-25 11:38:58 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2013-03-25 11:38:58 +0000 |
commit | 55bf2d7c5e07f22df7a33b0ec44bd7b327b67968 (patch) | |
tree | 30757f063dba6862685350db30cd74281fac875a | |
parent | e4bb4d8ee784a3c2e36cb1ee405ecfdf43237ab9 (diff) |
We ignore SIGWINCH until ready, so send a MSG_RESIZE immediately when
becoming ready.
-rw-r--r-- | usr.bin/tmux/client.c | 3 |
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) |