More cleanup of resize behavior
More cleanup of resize behavior

jupyter/jupyter-js-terminal,jupyter/jupyter-js-terminal,jupyter/jupyter-js-terminal,jupyter/jupyter-js-terminal,jupyter/jupyter-js-terminal