fix(coding-agent): properly cleanup terminal on Ctrl+C in session selector (#247)

This commit is contained in:
Aliou Diallo 2025-12-19 19:04:00 +01:00 committed by GitHub
parent e6e644225d
commit 95dcd04e7c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 18 additions and 3 deletions

View file

@ -1435,6 +1435,10 @@ export class InteractiveMode {
done();
this.ui.requestRender();
},
() => {
this.stop();
process.exit(0);
},
);
return { component: selector, focus: selector.getSessionList() };
});