fix: minor ui bug for transparent backgrounds (#4886)
parent
d80880350d
commit
7d8d360138
|
|
@ -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…
Reference in New Issue