]> git.armaanb.net Git - st.git/commitdiff
remove dup of default window size.
authorAurélien Aptel <aurelien.aptel@gmail.com>
Fri, 16 Sep 2011 15:57:56 +0000 (17:57 +0200)
committerAurélien Aptel <aurelien.aptel@gmail.com>
Fri, 16 Sep 2011 15:57:56 +0000 (17:57 +0200)
TODO
st.c

diff --git a/TODO b/TODO
index ef683867a49a9ccb6ac0265479b3d3aa6f4c4c8a..62a9f427358c4d201cc740a93609e8d9b1eddda7 100644 (file)
--- a/TODO
+++ b/TODO
@@ -11,6 +11,7 @@ code & interface
 * clean selection code
 * clean and complete terminfo entry
 * fix shift up/down (shift selection in emacs)
+* fast drawing
 * ...
 
 misc
diff --git a/st.c b/st.c
index f0c2cd20a66ab7c434fe5b0b6b0208f38f4df91b..46490798e9b867821c2b7dfb954c7325e16308f1 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;