JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
remove dup of default window size.
[st.git] / st.c
diff --git a/st.c b/st.c
index f0c2cd2..4649079 100644 (file)
--- a/st.c
+++ b/st.c
@@ -1627,8 +1627,8 @@ xinit(void) {
        xloadcols();
 
        /* window - default size */
-       xw.bufh = 24 * xw.ch;
-       xw.bufw = 80 * xw.cw;
+       xw.bufh = term.row * xw.ch;
+       xw.bufw = term.col * xw.cw;
        xw.h = xw.bufh + 2*BORDER;
        xw.w = xw.bufw + 2*BORDER;