Skip to content

Commit 3fd43f4

Browse files
fix: stabilize setup tui rendering (#30)
1 parent 7ba20f5 commit 3fd43f4

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

src/setup-ui.tsx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -482,9 +482,8 @@ function SetupWizard(props: {
482482
backgroundColor="#12202b"
483483
>
484484
<text>
485-
<strong fg="#f6d365">sandcode</strong>
485+
<strong fg="#f6d365">sandcode </strong>
486486
<span fg="#8aa5b8">
487-
{" "}
488487
Daytona research, OpenCode sandboxes, and a setup flow worth reusing.
489488
</span>
490489
</text>
@@ -547,7 +546,7 @@ function SetupWizard(props: {
547546
<box flexDirection="column" gap={1}>
548547
<Show when={activeChoiceStep()}>
549548
{(stepAccessor) => (
550-
<>
549+
<box flexDirection="column" gap={1}>
551550
<text fg="#8fbcd4">{stepAccessor().eyebrow}</text>
552551
<text>
553552
<strong fg="#f6d365">{stepAccessor().title}</strong>
@@ -582,13 +581,13 @@ function SetupWizard(props: {
582581
});
583582
}}
584583
/>
585-
</>
584+
</box>
586585
)}
587586
</Show>
588587

589588
<Show when={activeInputStep()}>
590589
{(stepAccessor) => (
591-
<>
590+
<box flexDirection="column" gap={1}>
592591
<text fg="#8fbcd4">{stepAccessor().eyebrow}</text>
593592
<text>
594593
<strong fg="#f6d365">{stepAccessor().title}</strong>
@@ -630,7 +629,7 @@ function SetupWizard(props: {
630629
}
631630
}}
632631
/>
633-
</>
632+
</box>
634633
)}
635634
</Show>
636635
</box>
@@ -724,7 +723,7 @@ export async function runSetupTui(
724723
context: SetupContext,
725724
initialState: SetupState,
726725
): Promise<SetupResult> {
727-
const renderer = await createCliRenderer();
726+
const renderer = await createCliRenderer({ useMouse: false });
728727

729728
return await new Promise<SetupResult>((resolve, reject) => {
730729
let settled = false;

0 commit comments

Comments
 (0)