Move column and row default numbers into config.h

dev
fpqc 2016-12-14 06:51:27 +00:00 committed by Quentin Rameau
parent e44832408b
commit c63a87cd93
2 changed files with 7 additions and 2 deletions

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
*/ */

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;