Fix for a small bug which would cause the terminal not to resize correctly in some situations.
Fix for a small bug which would cause the terminal not to resize correctly in some situations.

sedwards2009/extraterm,sedwards2009/extraterm,sedwards2009/extraterm,sedwards2009/extraterm,sedwards2009/extraterm