summaryrefslogtreecommitdiffhomepage
path: root/packages/tui/internal/components/core
diff options
context:
space:
mode:
authoradamdottv <[email protected]>2025-06-15 15:07:00 -0500
committeradamdottv <[email protected]>2025-06-15 15:07:05 -0500
commit77a6b3bdd6f68fe6ae5a69611b100b413e57473c (patch)
tree2b3ce77f3973189d281880c25b03c909152b65bf /packages/tui/internal/components/core
parent7effff56c0305965ca9bea56c3165c5d02f5d2eb (diff)
downloadopencode-77a6b3bdd6f68fe6ae5a69611b100b413e57473c.tar.gz
opencode-77a6b3bdd6f68fe6ae5a69611b100b413e57473c.zip
fix: background color rendering issues
Diffstat (limited to 'packages/tui/internal/components/core')
-rw-r--r--packages/tui/internal/components/core/status.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/tui/internal/components/core/status.go b/packages/tui/internal/components/core/status.go
index fc0f61e5a..aa3febf9b 100644
--- a/packages/tui/internal/components/core/status.go
+++ b/packages/tui/internal/components/core/status.go
@@ -140,14 +140,15 @@ func formatTokensAndCost(tokens float32, contextWindow float32, cost float32) st
}
func (m statusComponent) View() string {
+ t := theme.CurrentTheme()
if m.app.Session.Id == "" {
return styles.BaseStyle().
+ Background(t.Background()).
Width(m.width).
Height(2).
Render("")
}
- t := theme.CurrentTheme()
logo := logo()
cwd := styles.Padded().