mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-13 01:13:31 +00:00
fix(tui): interrupt v2 sessions with escape
This commit is contained in:
parent
6a16c41e8f
commit
573ab9c24b
1 changed files with 1 additions and 1 deletions
|
|
@ -407,7 +407,7 @@ export function Prompt(props: PromptProps) {
|
|||
}, 5000)
|
||||
|
||||
if (store.interrupt >= 2) {
|
||||
void sdk.client.session.abort({
|
||||
void sdk.client.v2.session.interrupt({
|
||||
sessionID: props.sessionID,
|
||||
})
|
||||
setStore("interrupt", 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue