X-Git-Url: https://jasonwoof.com/gitweb/?p=st.git;a=blobdiff_plain;f=st.c;h=9587886f8191edeec2be43429ce1bbb50b2ad8b4;hp=fc07a469430890429ffb73e7c2e0b3ee608e5b90;hb=3ae02990648447ec3252b42f5b64e18818c19fd8;hpb=fed9968ba5d3c6874f73517b261968746d36801e 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(); }