all repos — st @ c63a87cd936c1eeef14c4c21572e5b782d3df4bc

st (suckless terminal) config

Move column and row default numbers into config.h
fpqc harry.gindi@live.com
commit

c63a87cd936c1eeef14c4c21572e5b782d3df4bc

parent

e44832408bb3147826c346872b49de105a4d0e0b

2 files changed, 7 insertions(+), 2 deletions(-)

jump to
M config.def.hconfig.def.h

@@ -131,6 +131,13 @@ */

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;
M st.cst.c

@@ -4471,8 +4471,6 @@

int main(int argc, char *argv[]) { - uint cols = 80, rows = 24; - xw.l = xw.t = 0; xw.isfixed = False; xw.cursor = cursorshape;