Browse Source

Move column and row default numbers into config.h

master
fpqc 8 years ago
committed by Quentin Rameau
parent
commit
c63a87cd93
2 changed files with 7 additions and 2 deletions
  1. +7
    -0
      config.def.h
  2. +0
    -2
      st.c

+ 7
- 0
config.def.h View File

@ -130,6 +130,13 @@ static unsigned int defaultrcs = 257;
*/ */
static unsigned int cursorshape = 2; 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 * Default colour and shape of the mouse cursor
*/ */


+ 0
- 2
st.c View File

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


Loading…
Cancel
Save