diff options
| author | Aurélien Aptel <aurelien.aptel@gmail.com> | 2011-09-16 17:57:56 +0200 | 
|---|---|---|
| committer | Aurélien Aptel <aurelien.aptel@gmail.com> | 2011-09-16 17:57:56 +0200 | 
| commit | bf2e23f5356eb259af0478bcb70be64ddcd3718c (patch) | |
| tree | fb53f20b759091f71e3c90730d68ec829fb6955f | |
| parent | e2809f3976adaaa641e116970a3611bf67332dfe (diff) | |
| download | st-bf2e23f5356eb259af0478bcb70be64ddcd3718c.tar.xz st-bf2e23f5356eb259af0478bcb70be64ddcd3718c.zip  | |
remove dup of default window size.
| -rw-r--r-- | TODO | 1 | ||||
| -rw-r--r-- | st.c | 4 | 
2 files changed, 3 insertions, 2 deletions
@@ -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 @@ -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;  | 
