Expose terminalSize to QML side.