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
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);