fix: minor ui bug for transparent backgrounds (#4886)

This commit is contained in:
Dorian Karter 2025-11-28 23:58:44 -06:00 committed by GitHub
commit 7d8d360138
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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