tui: fix session abort when autocomplete is visible
parent
01b9148c04
commit
ebca25462e
|
|
@ -161,6 +161,7 @@ export function Prompt(props: PromptProps) {
|
|||
onSelect: (dialog) => {
|
||||
if (!props.sessionID) return
|
||||
if (autocomplete.visible) return
|
||||
if (!input.focused) return
|
||||
sdk.client.session.abort({
|
||||
path: {
|
||||
id: props.sessionID,
|
||||
|
|
|
|||
Loading…
Reference in New Issue