fix(onboarding): exit cleanly after web ui hatch

This commit is contained in:
Peter Steinberger
2026-02-13 03:20:25 +01:00
parent 65be9ccf63
commit cd50b5ded2
3 changed files with 55 additions and 7 deletions

View File

@@ -26,13 +26,6 @@ export function restoreTerminalState(reason?: string): void {
} catch (err) {
reportRestoreFailure("raw mode", err, reason);
}
if (typeof stdin.isPaused === "function" && stdin.isPaused()) {
try {
stdin.resume();
} catch (err) {
reportRestoreFailure("stdin resume", err, reason);
}
}
}
if (process.stdout.isTTY) {