getmaxyx Utility programs that print the maximum dimensions of a terminal. getmaxy - maximum height getmaxx - maximum width Requires ncurses