mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-22 07:15:59 +01:00
Forgot one line. It's late.
This commit is contained in:
parent
b1d383a0a3
commit
e09709d92d
1 changed files with 0 additions and 1 deletions
1
st.c
1
st.c
|
@ -843,7 +843,6 @@ ttyresize(int x, int y) {
|
||||||
w.ws_col = term.col;
|
w.ws_col = term.col;
|
||||||
w.ws_xpixel = xw.w;
|
w.ws_xpixel = xw.w;
|
||||||
w.ws_ypixel = xw.h;
|
w.ws_ypixel = xw.h;
|
||||||
w.ws_xpixel = w.ws_ypixel = 0;
|
|
||||||
if(ioctl(cmdfd, TIOCSWINSZ, &w) < 0)
|
if(ioctl(cmdfd, TIOCSWINSZ, &w) < 0)
|
||||||
fprintf(stderr, "Couldn't set window size: %s\n", SERRNO);
|
fprintf(stderr, "Couldn't set window size: %s\n", SERRNO);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue