Move column and row default numbers into config.h

master
fpqc 6 years ago committed by Quentin Rameau
parent e44832408b
commit c63a87cd93
  1. 7
      config.def.h
  2. 2
      st.c

@ -130,6 +130,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
*/

@ -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;

Loading…
Cancel
Save