Explorar o código

fix(tui): title bg color missing on system theme

adamdotdevin hai 7 meses
pai
achega
2f4db2777c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/tui/internal/components/chat/message.go

+ 1 - 1
packages/tui/internal/components/chat/message.go

@@ -787,7 +787,7 @@ func renderToolTitle(
 		title := renderToolAction(toolCall.Tool)
 		t := theme.CurrentTheme()
 		shiny := util.Shimmer(title, t.BackgroundPanel(), t.TextMuted(), t.Accent())
-		return styles.NewStyle().Width(width - 6).Render(shiny)
+		return styles.NewStyle().Background(t.BackgroundPanel()).Width(width - 6).Render(shiny)
 	}
 
 	toolArgs := ""