JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Prevent resizing stdin
[st.git] / st.c
diff --git a/st.c b/st.c
index f883ac1..4fb3311 100644 (file)
--- a/st.c
+++ b/st.c
@@ -3667,11 +3667,11 @@ run(void) {
                }
        }
 
+       ttynew();
        if(!xw.isfixed)
                cresize(w, h);
        else
                cresize(xw.fw, xw.fh);
-       ttynew();
 
        gettimeofday(&lastblink, NULL);
        gettimeofday(&last, NULL);