@@ -321,16 +321,19 @@ func (t *baseToolMessageItem) RawRender(width int) string {
322// Render renders the tool message item at the given width.
322// Render renders the tool message item at the given width.
323func (t *baseToolMessageItem) Render(width int) string {
323func (t *baseToolMessageItem) Render(width int) string {
324− style := t.sty.Chat.Message.ToolCallBlurred
324+ var prefix string
326− style = t.sty.Chat.Message.ToolCallFocused
329 if t.isCompact {
325 if t.isCompact {
330− style = t.sty.Chat.Message.ToolCallCompact
326+ prefix = t.sty.Chat.Message.ToolCallCompact.Render()
327+ } else if t.focused {
328+ prefix = t.sty.Chat.Message.ToolCallFocused.Render()
330+ prefix = t.sty.Chat.Message.ToolCallBlurred.Render()
333− return style.Render(t.RawRender(width))
332+ lines := strings.Split(t.RawRender(width), "\n")
333+ for i, ln := range lines {
334+ lines[i] = prefix + ln
336+ return strings.Join(lines, "\n")
336// ToolCall returns the tool call associated with this message item.
339// ToolCall returns the tool call associated with this message item.