Search code examples
cncurses

ncurses terminal size


How do I find the terminal width & height of an ncurses application?


Solution

  • void getmaxyx(WINDOW *win, int y, int x); i believe...

    also, this may help...

    Getting terminal width in C?