Xinqi Bao's Git
projects
/
st.git
/ diff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (parent:
b1d383a
)
Forgot one line. It's late.
author
Christoph Lohmann <
[email protected]
>
Tue, 4 Sep 2012 20:51:29 +0000
(22:51 +0200)
committer
Christoph Lohmann <
[email protected]
>
Tue, 4 Sep 2012 20:51:29 +0000
(22:51 +0200)
st.c
diff
|
blob
|
history
diff --git
a/st.c
b/st.c
index
63c3f85
..
a2564f8
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-843,7
+843,6
@@
ttyresize(int x, int y) {
w.ws_col = term.col;
w.ws_xpixel = xw.w;
w.ws_ypixel = xw.h;
w.ws_col = term.col;
w.ws_xpixel = xw.w;
w.ws_ypixel = xw.h;
- w.ws_xpixel = w.ws_ypixel = 0;
if(ioctl(cmdfd, TIOCSWINSZ, &w) < 0)
fprintf(stderr, "Couldn't set window size: %s\n", SERRNO);
}
if(ioctl(cmdfd, TIOCSWINSZ, &w) < 0)
fprintf(stderr, "Couldn't set window size: %s\n", SERRNO);
}