Explorar o código

keep session dot in list for current active (#4185)

Aiden Cline hai 3 meses
pai
achega
02b7cc8313
Modificáronse 1 ficheiros con 7 adicións e 2 borrados
  1. 7 2
      packages/opencode/src/cli/cmd/tui/ui/dialog-select.tsx

+ 7 - 2
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>