feat(tui): add mouse hover and click support to autocomplete (#7820)

This commit is contained in:
Kit Langton
2026-01-11 12:45:20 -05:00
committed by GitHub
parent 8576f44097
commit d2d0b21918
@@ -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}