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()}
|
borderColor={highlight()}
|
||||||
customBorderChars={{
|
customBorderChars={{
|
||||||
...EmptyBorder,
|
...EmptyBorder,
|
||||||
vertical: "╹",
|
// when the background is transparent, don't draw the vertical line
|
||||||
|
vertical: theme.background.a != 0 ? "╹" : " ",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<box
|
<box
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue