summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--st.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/st.c b/st.c
index fc07a46..9587886 100644
--- a/st.c
+++ b/st.c
@@ -1195,11 +1195,10 @@ treset(void) {
void
tnew(int col, int row) {
- /* setting "zero" terminal to resize it later */
memset(&term, 0, sizeof(Term));
tresize(col, row);
term.numlock = 1;
- /* setup screen */
+
treset();
}