mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-01 02:10:21 +00:00
refactor: clarify restoreTerminalState stdin resume option
This commit is contained in:
@@ -31,7 +31,7 @@ export const defaultRuntime: RuntimeEnv = {
|
||||
console.error(...args);
|
||||
},
|
||||
exit: (code) => {
|
||||
restoreTerminalState("runtime exit", { resumeStdin: false });
|
||||
restoreTerminalState("runtime exit", { resumeStdinIfPaused: false });
|
||||
process.exit(code);
|
||||
throw new Error("unreachable"); // satisfies tests when mocked
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user