term_height function

Get the height of the terminal window in pixels