Add Terminal.onResize