From 7b65b5b237823a6a68ea1e938eb87e6a59e18b12 Mon Sep 17 00:00:00 2001 From: Castor Gemini Date: Fri, 22 Aug 2025 05:37:49 -0500 Subject: [PATCH] fix(playback): Add spacing before code snippets --- prettyFormat.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/prettyFormat.go b/prettyFormat.go index 3476dbc..62f7f27 100644 --- a/prettyFormat.go +++ b/prettyFormat.go @@ -151,6 +151,8 @@ func printCodeSnippet(snippet *chatpb.CodeSnippet) { // Use the in-memory Content field directly. code := snippet.GetContent() language := filepath.Base(snippet.GetFilename()) // Still useful for display + + fmt.Println() // Add extra line feed for spacing fmt.Printf("┌─[ Code Snippet: %s ]──────────────────────────────────\n", language) for _, line := range strings.Split(strings.TrimSpace(code), "\n") { fmt.Printf("│ %s\n", line)