summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--packages/opencode/src/cli/cmd/tui/ui/dialog-select.tsx9
1 files changed, 7 insertions, 2 deletions
diff --git a/packages/opencode/src/cli/cmd/tui/ui/dialog-select.tsx b/packages/opencode/src/cli/cmd/tui/ui/dialog-select.tsx
index bc9b78dc0..285c039c1 100644
--- a/packages/opencode/src/cli/cmd/tui/ui/dialog-select.tsx
+++ b/packages/opencode/src/cli/cmd/tui/ui/dialog-select.tsx
@@ -259,10 +259,15 @@ function Option(props: {
onMouseOver?: () => void
}) {
const { theme } = useTheme()
+
return (
<>
- <Show when={props.current && !props.active}>
- <text flexShrink={0} fg={theme.primary} marginRight={0.5}>
+ <Show when={props.current}>
+ <text
+ flexShrink={0}
+ fg={props.active ? theme.background : props.current ? theme.primary : theme.text}
+ marginRight={0.5}
+ >
</text>
</Show>