How do I find the terminal width & height of an ncurses application?
+1
A:
getmaxyx()
i believe...
also, this may help...
http://stackoverflow.com/questions/1022957/getting-terminal-width-in-c
mtvee
2009-11-28 08:19:46
Also: Don't forget that some operating systems have SIGWINCH which your process receives when the terminal is resized...
asveikau
2009-11-28 08:46:03