mirror of
https://github.com/farcasclaudiu/openclaw.git
synced 2026-06-28 21:01:43 +03:00
refactor: clarify restoreTerminalState stdin resume option
This commit is contained in:
+1
-1
@@ -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