You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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.
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?
The text was updated successfully, but these errors were encountered: