mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 16:04:03 +00:00
fix(coding-agent): properly cleanup terminal on Ctrl+C in session selector (#247)
This commit is contained in:
parent
e6e644225d
commit
95dcd04e7c
3 changed files with 18 additions and 3 deletions
|
|
@ -28,6 +28,10 @@ export async function selectSession(sessionManager: SessionManager): Promise<str
|
|||
resolve(null);
|
||||
}
|
||||
},
|
||||
() => {
|
||||
ui.stop();
|
||||
process.exit(0);
|
||||
},
|
||||
);
|
||||
|
||||
ui.addChild(selector);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue