commit - 82335583eba15e87749d0e663270353005fca30b
commit + 6e70bb97d4e98a5e2fa7c5488b0cba1da140b78f
blob - 005bf1d560ba309a6921086bdf03635d7dc5765d
blob + 41f69420b98baaa6fe2875d29281af031b77e635
--- st.c
+++ st.c
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");
xunloadfonts();
xloadfonts(usedfont, arg->f);
cresize(0, 0);
+ ttyresize();
redraw();
xhints();
}
tresize(col, row);
xresize(col, row);
- ttyresize();
}
void
return;
cresize(e->xconfigure.width, e->xconfigure.height);
+ ttyresize();
}
void
}
} while (ev.type != MapNotify);
- ttynew();
cresize(w, h);
+ ttynew();
+ ttyresize();
clock_gettime(CLOCK_MONOTONIC, &last);
lastblink = last;