mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-22 15:25:58 +01:00
remove dup of default window size.
This commit is contained in:
parent
8503f954a1
commit
d5f3d120ea
2 changed files with 3 additions and 2 deletions
1
TODO
1
TODO
|
@ -11,6 +11,7 @@ code & interface
|
||||||
* clean selection code
|
* clean selection code
|
||||||
* clean and complete terminfo entry
|
* clean and complete terminfo entry
|
||||||
* fix shift up/down (shift selection in emacs)
|
* fix shift up/down (shift selection in emacs)
|
||||||
|
* fast drawing
|
||||||
* ...
|
* ...
|
||||||
|
|
||||||
misc
|
misc
|
||||||
|
|
4
st.c
4
st.c
|
@ -1627,8 +1627,8 @@ xinit(void) {
|
||||||
xloadcols();
|
xloadcols();
|
||||||
|
|
||||||
/* window - default size */
|
/* window - default size */
|
||||||
xw.bufh = 24 * xw.ch;
|
xw.bufh = term.row * xw.ch;
|
||||||
xw.bufw = 80 * xw.cw;
|
xw.bufw = term.col * xw.cw;
|
||||||
xw.h = xw.bufh + 2*BORDER;
|
xw.h = xw.bufh + 2*BORDER;
|
||||||
xw.w = xw.bufw + 2*BORDER;
|
xw.w = xw.bufw + 2*BORDER;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue