mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-29 11:42:17 +00:00
fix(tui): keep cd autocomplete open
This commit is contained in:
parent
47f66de8dd
commit
0f96ed63bb
1 changed files with 6 additions and 2 deletions
|
|
@ -648,8 +648,12 @@ export function Autocomplete(props: {
|
|||
return
|
||||
}
|
||||
selected.onSelect?.()
|
||||
setDismissedValue(props.input().plainText)
|
||||
hide(true)
|
||||
if (selected.value === search()) {
|
||||
setDismissedValue(props.input().plainText)
|
||||
hide(true)
|
||||
return
|
||||
}
|
||||
setStore("selected", 0)
|
||||
}
|
||||
|
||||
function triggerDestructive() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue