Improve detection of when the terminal window has been resized.
Improve detection of when the terminal window has been resized.

mmeyer724/sshmenu,Mike724/sshmenu,closer9/sshmenu,Mike724/sshmenu,mmeyer724/sshmenu,closer9/sshmenu