tags:

views:

279

answers:

2

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
Also: Don't forget that some operating systems have SIGWINCH which your process receives when the terminal is resized...
asveikau
A: 

What about using SCR_H and SCR_W?

Conrad Meyer