diff options
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1440,6 +1440,8 @@ ttynew(void) | |||
1440 | if (openpty(&m, &s, NULL, NULL, &w) < 0) | 1440 | if (openpty(&m, &s, NULL, NULL, &w) < 0) |
1441 | die("openpty failed: %s\n", strerror(errno)); | 1441 | die("openpty failed: %s\n", strerror(errno)); |
1442 | 1442 | ||
1443 | ttyresize(); | ||
1444 | |||
1443 | switch (pid = fork()) { | 1445 | switch (pid = fork()) { |
1444 | case -1: | 1446 | case -1: |
1445 | die("fork failed\n"); | 1447 | die("fork failed\n"); |