From 7c1124199ecba33750c9b536c907359f40ed91de Mon Sep 17 00:00:00 2001
From: Nalin Singh <38408670+nalin-singh@users.noreply.github.com>
Date: Mon, 15 Dec 2025 10:40:33 +0530
Subject: [PATCH] fix: input lip visibility for transparent themes (#5544)
---
.../src/cli/cmd/tui/component/prompt/index.tsx | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 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 784c8648e..eefe43d1f 100644
--- a/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx
+++ b/packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx
@@ -873,17 +873,24 @@ export function Prompt(props: PromptProps) {
borderColor={highlight()}
customBorderChars={{
...EmptyBorder,
- vertical: "╹",
+ vertical: theme.backgroundElement.a !== 0 ? "╹" : " ",
}}
>