Closed PopeFelix closed 2 years ago
Strictly speaking, LINES and COLS is used to get the size of the screen. GetMaxYX is used to get the size of windows. Unlike in C, in Goncurses you have a pointer to the screen and it's treated like a window, so you can actually fetch the size of the screen that way.
Thanks!
I'm brand new to ncurses programming. Apparently there are two constants, LINES and COLS, that allow you to determine the screen size. How do I access these using goncurses?