mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
fix: minor ui bug for transparent backgrounds (#4886)
This commit is contained in:
parent
d80880350d
commit
7d8d360138
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue