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)