st
simple terminal
git clone https://9o.is/git/st.git
commit 729d18b1aa8c236fd5a5887e6477a729b2ed99f6 parent 2c3b558c6b4be15b7e43fd9875301cac62fe7df6 Author: fpqc <harry.gindi@live.com> Date: Wed, 14 Dec 2016 06:51:27 +0000 Move column and row default numbers into config.h Diffstat:
| M | config.def.h | | | 7 | +++++++ |
| M | st.c | | | 2 | -- |
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/config.def.h b/config.def.h @@ -131,6 +131,13 @@ static unsigned int defaultrcs = 257; static unsigned int cursorshape = 2; /* + * Default columns and rows numbers + */ + +static unsigned int cols = 80; +static unsigned int rows = 24; + +/* * Default colour and shape of the mouse cursor */ static unsigned int mouseshape = XC_xterm; diff --git a/st.c b/st.c @@ -4471,8 +4471,6 @@ usage(void) int main(int argc, char *argv[]) { - uint cols = 80, rows = 24; - xw.l = xw.t = 0; xw.isfixed = False; xw.cursor = cursorshape;