@@ -773,6 +773,7 @@ func prettifyToolName(name string) string {
773773// escapeContent escapes ANSI escape sequences and control characters in the
774774// content and styles it for display in the terminal.
775775func escapeContent(t *styles.Theme, content string) string {
776+ content = strings.ReplaceAll(content, "\r\n", "\n")
776777 lines := strings.Split(content, "\n")
777778 for i, line := range lines {
778779 lines[i] = escapeLine(t, line)