@@ -3,7 +3,6 @@ package messages
6− "github.com/charmbracelet/bubbles/v2/spinner"
7 tea "github.com/charmbracelet/bubbletea/v2"
6 tea "github.com/charmbracelet/bubbletea/v2"
8 "github.com/charmbracelet/crush/internal/message"
7 "github.com/charmbracelet/crush/internal/message"
9 "github.com/charmbracelet/crush/internal/tui/components/anim"
8 "github.com/charmbracelet/crush/internal/tui/components/anim"
@@ -91,9 +90,10 @@ func NewToolCallCmp(parentMessageID string, tc message.ToolCall, opts ...ToolCal
91 for _, opt := range opts {
90 for _, opt := range opts {
93+ t := styles.CurrentTheme()
94− m.anim = anim.New(15, "Working")
94+ m.anim = anim.New(15, "Working", t)
95 if m.isNested {
95 if m.isNested {
96− m.anim = anim.New(10, "")
96+ m.anim = anim.New(10, "", t)
@@ -112,7 +112,7 @@ func (m *toolCallCmp) Init() tea.Cmd {
112// Manages animation updates for pending tool calls.
112// Manages animation updates for pending tool calls.
113func (m *toolCallCmp) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
113func (m *toolCallCmp) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
114 switch msg := msg.(type) {
114 switch msg := msg.(type) {
115− case anim.ColorCycleMsg, anim.StepCharsMsg, spinner.TickMsg:
115+ case anim.StepMsg:
116 var cmds []tea.Cmd
116 var cmds []tea.Cmd
117 for i, nested := range m.nestedToolCalls {
117 for i, nested := range m.nestedToolCalls {
118 if nested.Spinning() {
118 if nested.Spinning() {