diff options
| author | Aiden Cline <[email protected]> | 2025-11-10 20:20:35 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-11-10 22:20:35 -0600 |
| commit | 02b7cc8313f0c246d9e424c3cc98e4f57564e9db (patch) | |
| tree | 69ca9a247520abff8d6d5fbf3730287f7437a0eb /packages | |
| parent | c9a52c9a8552741fd428764bd1ea0f4a383a6012 (diff) | |
| download | opencode-02b7cc8313f0c246d9e424c3cc98e4f57564e9db.tar.gz opencode-02b7cc8313f0c246d9e424c3cc98e4f57564e9db.zip | |
keep session dot in list for current active (#4185)
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/opencode/src/cli/cmd/tui/ui/dialog-select.tsx | 9 |
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> |
