Xinqi Bao's Git
projects
/
st.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
| inline |
side by side
(parent:
8503f95
)
remove dup of default window size.
author
Aurélien Aptel <
[email protected]
>
Fri, 16 Sep 2011 15:57:56 +0000
(17:57 +0200)
committer
Aurélien Aptel <
[email protected]
>
Fri, 16 Sep 2011 15:57:56 +0000
(17:57 +0200)
TODO
patch
|
blob
|
history
st.c
patch
|
blob
|
history
diff --git
a/TODO
b/TODO
index
ef68386
..
62a9f42
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
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;