Skip to content

The open source coding agent.

TypeScript

fix: prevent session list rows from wrapping to 2 lines (#6812)

Rohan Godha88c306efd297
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 a89223d49c1..f2f2927c000 100644
--- a/packages/opencode/src/cli/cmd/tui/ui/dialog-select.tsx
+++ b/packages/opencode/src/cli/cmd/tui/ui/dialog-select.tsx
@@ -314,12 +314,12 @@ function Option(props: {
return (
<>
<Show when={props.current}>
- <text flexShrink={0} fg={props.active ? fg : props.current ? theme.primary : theme.text} marginRight={0.5}>
+ <text flexShrink={0} fg={props.active ? fg : props.current ? theme.primary : theme.text} marginRight={0}>
●
</text>
</Show>
<Show when={!props.current && props.gutter}>
- <box flexShrink={0} marginRight={0.5}>
+ <box flexShrink={0} marginRight={0}>
{props.gutter}
</box>
</Show>