From e760d28c5a125f7f4de30cf0491be53e32bb897d Mon Sep 17 00:00:00 2001 From: adamdottv <2363879+adamdottv@users.noreply.github.com> Date: Thu, 1 May 2025 09:02:14 -0500 Subject: feat: show hunk headers --- internal/tui/components/chat/message.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'internal/tui/components/chat') diff --git a/internal/tui/components/chat/message.go b/internal/tui/components/chat/message.go index 715e00d66..f8d721f19 100644 --- a/internal/tui/components/chat/message.go +++ b/internal/tui/components/chat/message.go @@ -446,8 +446,7 @@ func renderToolResponse(toolCall message.ToolCall, response message.ToolResult, case tools.EditToolName: metadata := tools.EditResponseMetadata{} json.Unmarshal([]byte(response.Metadata), &metadata) - truncDiff := truncateHeight(metadata.Diff, maxResultHeight) - formattedDiff, _ := diff.FormatDiff(truncDiff, diff.WithTotalWidth(width)) + formattedDiff, _ := diff.FormatDiff(metadata.Diff, diff.WithTotalWidth(width)) return formattedDiff case tools.FetchToolName: var params tools.FetchParams @@ -636,4 +635,3 @@ func formatTimestampDiff(start, end int64) string { } return fmt.Sprintf("%.1fm", diffSeconds/60) } - -- cgit v1.2.3