mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-22 19:55:11 +00:00
feat(tui): add mouse hover and click support to autocomplete (#7820)
This commit is contained in:
parent
c526e2d908
commit
a803cf8aee
1 changed files with 2 additions and 0 deletions
|
|
@ -700,6 +700,8 @@ export function Autocomplete(props: {
|
|||
paddingRight={1}
|
||||
backgroundColor={index === store.selected ? theme.primary : undefined}
|
||||
flexDirection="row"
|
||||
onMouseOver={() => moveTo(index)}
|
||||
onMouseUp={() => select()}
|
||||
>
|
||||
<text fg={index === store.selected ? selectedForeground(theme) : theme.text} flexShrink={0}>
|
||||
{option().display}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue