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

@ -28,6 +28,10 @@ export async function selectSession(sessionManager: SessionManager): Promise<str
resolve(null);
}
},
() => {
ui.stop();
process.exit(0);
},
);
ui.addChild(selector);