+ Added terminal size changes support in Linux and Mac OS X.