fix: background color rendering issues

This commit is contained in:
adamdottv
2025-06-15 15:07:00 -05:00
parent 7effff56c0
commit 77a6b3bdd6
5 changed files with 38 additions and 50 deletions

View File

@@ -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().