tremove dup of default window size. - st - [fork] customized build of st, the s… | |
git clone git://src.adamsgaard.dk/st | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit d5f3d120eae2377b8a2f80c94fbb5e4bd7a6189d | |
parent 8503f954a1cb2d08124fe2c1f0227bd23dffff46 | |
Author: Aurélien Aptel <[email protected]> | |
Date: Fri, 16 Sep 2011 17:57:56 +0200 | |
remove dup of default window size. | |
Diffstat: | |
M TODO | 1 + | |
M st.c | 4 ++-- | |
2 files changed, 3 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/TODO b/TODO | |
t@@ -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 | |
t@@ -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; | |