mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 00:11:23 +00:00
Onboarding: keep TUI flow exclusive
This commit is contained in:
@@ -662,4 +662,10 @@ export async function runTui(opts: TuiOptions) {
|
||||
updateFooter();
|
||||
tui.start();
|
||||
client.start();
|
||||
await new Promise<void>((resolve) => {
|
||||
const finish = () => resolve();
|
||||
process.once("exit", finish);
|
||||
process.once("SIGINT", finish);
|
||||
process.once("SIGTERM", finish);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user