Added big dot (●) indicator for current session in modal (#3980)

Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
This commit is contained in:
opencode-agent[bot]
2025-11-06 01:09:59 -06:00
committed by GitHub
parent e52bfab79d
commit 49e4cfb286
2 changed files with 10 additions and 0 deletions

View File

@@ -273,6 +273,11 @@ function Option(props: {
const { theme } = useTheme()
return (
<>
<Show when={props.current && !props.active}>
<text flexShrink={0} fg={theme.primary} marginRight={0.5}>
</text>
</Show>
<text
flexGrow={1}
fg={props.active ? theme.background : props.current ? theme.primary : theme.text}