[hackers] [st] remove dup of default window size. || Aurélien Aptel

From: <hg_AT_suckless.org>
Date: Fri, 16 Sep 2011 18:24:19 +0200 (CEST)

changeset: 209:437d613b56eb
parent: 206:e64c97268f1a
user: Aurélien Aptel <aurelien.aptel_AT_gmail.com>
date: Fri Sep 16 17:57:56 2011 +0200
files: TODO st.c
description:
remove dup of default window size.

diff -r e64c97268f1a -r 437d613b56eb TODO
--- a/TODO Thu Jun 09 18:25:56 2011 +0200
+++ b/TODO Fri Sep 16 17:57:56 2011 +0200
@@ -11,6 +11,7 @@
 * clean selection code
 * clean and complete terminfo entry
 * fix shift up/down (shift selection in emacs)
+* fast drawing
 * ...
 
 misc
diff -r e64c97268f1a -r 437d613b56eb st.c
--- a/st.c Thu Jun 09 18:25:56 2011 +0200
+++ b/st.c Fri Sep 16 17:57:56 2011 +0200
@@ -1627,8 +1627,8 @@
         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;
 
Received on Fri Sep 16 2011 - 18:24:19 CEST

This archive was generated by hypermail 2.2.0 : Fri Sep 16 2011 - 18:36:06 CEST