@@ -656,6 +656,7 @@ func joinHeaderBody(header, body string) string {
656func renderPlainContent(v *toolCallCmp, content string) string {
656func renderPlainContent(v *toolCallCmp, content string) string {
657 t := styles.CurrentTheme()
657 t := styles.CurrentTheme()
658 content = strings.ReplaceAll(content, "\r\n", "\n") // Normalize line endings
658 content = strings.ReplaceAll(content, "\r\n", "\n") // Normalize line endings
659+ content = strings.ReplaceAll(content, "\t", " ") // Replace tabs with spaces
659 content = strings.TrimSpace(content)
660 content = strings.TrimSpace(content)
660 lines := strings.Split(content, "\n")
661 lines := strings.Split(content, "\n")