Просмотр исходного кода

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

adamdotdevin 6 месяцев назад
Родитель
Сommit
2f4db2777c
1 измененных файлов с 1 добавлено и 1 удалено
  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 := ""