commit c63a87cd936c1eeef14c4c21572e5b782d3df4bc from: fpqc via: Quentin Rameau date: Fri Dec 16 09:50:23 2016 UTC Move column and row default numbers into config.h commit - e44832408bb3147826c346872b49de105a4d0e0b commit + c63a87cd936c1eeef14c4c21572e5b782d3df4bc blob - 32d107dc94347f75a67af3ea2091311ca38597c8 blob + a719e368bd3f620f0e16cc71c55df6d647841132 --- config.def.h +++ 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; blob - d6fe58a2f3ba8a947b97dbb10f15213f3095fd29 blob + fbcd9e02154fe586066648bdd3bafdff06820693 --- st.c +++ 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;