commit 504a165277c13797840c42c64807b59cd4e5f3a5 from: Christoph Lohmann <20h@r-36.net> date: Thu Jan 28 17:09:11 2016 UTC Enforce a terminal size to reduce race conditions in too efficient apps. dvtm is too fast in starting up. It will then have a race condition in finding the right. terminal size. commit - 9031e228ce283cd4847832acf012a910f74ad1ed commit + 504a165277c13797840c42c64807b59cd4e5f3a5 blob - 98622ec077f605a7ec2a038cf720e0670337c0a7 blob + 3a0a5198c61f934a686077d7e03f731d79b93f66 --- st.c +++ st.c @@ -1440,6 +1440,8 @@ ttynew(void) if (openpty(&m, &s, NULL, NULL, &w) < 0) die("openpty failed: %s\n", strerror(errno)); + ttyresize(); + switch (pid = fork()) { case -1: die("fork failed\n");