fix: background color rendering issues

This commit is contained in:
adamdottv 2025-06-15 15:07:00 -05:00
commit 77a6b3bdd6
No known key found for this signature in database
GPG key ID: 9CB48779AF150E75
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().