We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4e4c68 commit 3516f24Copy full SHA for 3516f24
cli/src/commands/router.ts
@@ -167,11 +167,7 @@ export async function routeUserPrompt(params: {
167
}
168
169
if (cmd === 'exit' || cmd === 'quit') {
170
- abortControllerRef.current?.abort()
171
- stopStreaming()
172
- setCanProcessQueue(false)
173
- setInputValue({ text: '', cursorPosition: 0, lastEditDueToNav: false })
174
- handleCtrlC()
+ process.kill(process.pid, 'SIGINT')
175
return
176
177
0 commit comments