forward $TERM and terminal resizing