mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 07:04:25 +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
|
|
@ -1435,6 +1435,10 @@ export class InteractiveMode {
|
|||
done();
|
||||
this.ui.requestRender();
|
||||
},
|
||||
() => {
|
||||
this.stop();
|
||||
process.exit(0);
|
||||
},
|
||||
);
|
||||
return { component: selector, focus: selector.getSessionList() };
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue