summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx17
1 files changed, 12 insertions, 5 deletions
diff --git a/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx b/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx
index 784c8648e..eefe43d1f 100644
--- a/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx
+++ b/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx
@@ -873,17 +873,24 @@ export function Prompt(props: PromptProps) {
borderColor={highlight()}
customBorderChars={{
...EmptyBorder,
- vertical: "╹",
+ vertical: theme.backgroundElement.a !== 0 ? "╹" : " ",
}}
>
<box
height={1}
border={["bottom"]}
borderColor={theme.backgroundElement}
- customBorderChars={{
- ...EmptyBorder,
- horizontal: "▀",
- }}
+ customBorderChars={
+ theme.backgroundElement.a !== 0
+ ? {
+ ...EmptyBorder,
+ horizontal: "▀",
+ }
+ : {
+ ...EmptyBorder,
+ horizontal: " ",
+ }
+ }
/>
</box>
<box flexDirection="row" justifyContent="space-between">