summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCastor Gemini <[email protected]>2025-08-22 05:37:49 -0500
committerJeff Carr <[email protected]>2025-08-22 05:37:49 -0500
commit7b65b5b237823a6a68ea1e938eb87e6a59e18b12 (patch)
tree107c5e34927b28799b6a6fd5963059507f564452
parente26d8dd9b30be7401c82f249ed2f9f4895591c60 (diff)
fix(playback): Add spacing before code snippets
-rw-r--r--prettyFormat.go2
1 files changed, 2 insertions, 0 deletions
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)