summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDorian Karter <[email protected]>2025-11-28 23:58:44 -0600
committerGitHub <[email protected]>2025-11-28 23:58:44 -0600
commit7d8d3601382cc653581322fab2eefce555697059 (patch)
tree32e557bb6b8790db52ce64ac22c4b39b47505015
parentd80880350d47e208a5d3739e5ec37a064f3aad66 (diff)
downloadopencode-7d8d3601382cc653581322fab2eefce555697059.tar.gz
opencode-7d8d3601382cc653581322fab2eefce555697059.zip
fix: minor ui bug for transparent backgrounds (#4886)
-rw-r--r--packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx3
1 files changed, 2 insertions, 1 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 e749c9c17..ae11fcc23 100644
--- a/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx
+++ b/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx
@@ -809,7 +809,8 @@ export function Prompt(props: PromptProps) {
borderColor={highlight()}
customBorderChars={{
...EmptyBorder,
- vertical: "╹",
+ // when the background is transparent, don't draw the vertical line
+ vertical: theme.background.a != 0 ? "╹" : " ",
}}
>
<box