Pass new dimensions into ttyresize

This removes another reference to TermWindow from st.c.

Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
This commit is contained in:
Devin J. Pohly
2017-10-10 15:51:23 -05:00
parent a8314643b1
commit dbe8676d7d
3 changed files with 7 additions and 7 deletions

2
st.h
View File

@ -187,7 +187,7 @@ void tsetdirtattr(int);
int match(uint, uint);
void ttynew(void);
size_t ttyread(void);
void ttyresize(void);
void ttyresize(int, int);
void ttysend(char *, size_t);
void ttywrite(const char *, size_t);