resize pty after starting Upstream-commit: 04f1d4dcdb5ec0507595943771b5282dbd26798e Component: engine