diff options
| author | Dorian Karter <[email protected]> | 2025-11-28 23:58:44 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-11-28 23:58:44 -0600 |
| commit | 7d8d3601382cc653581322fab2eefce555697059 (patch) | |
| tree | 32e557bb6b8790db52ce64ac22c4b39b47505015 | |
| parent | d80880350d47e208a5d3739e5ec37a064f3aad66 (diff) | |
| download | opencode-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.tsx | 3 |
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 |
