diff options
Diffstat (limited to 'prettyFormat.go')
| -rw-r--r-- | prettyFormat.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/prettyFormat.go b/prettyFormat.go index 513fe10..8d7ecbd 100644 --- a/prettyFormat.go +++ b/prettyFormat.go @@ -95,7 +95,7 @@ func printLeftAligned(author, timestamp, content string) { func printRightAligned(author, timestamp, content string) { prefix := fmt.Sprintf("(%s) %s ✦", timestamp, author) - + // Print the prefix first, right-aligned. fmt.Printf("%*s\n", termWidth, prefix) @@ -143,7 +143,7 @@ func printCodeSnippet(snippet *chatpb.CodeSnippet) { language := filepath.Base(snippet.GetFilename()) // Still useful for display fmt.Println() // Add extra line feed for spacing - + // --- Top Border --- topBorder := fmt.Sprintf("┌─[ Code Snippet: %s ]", language) fmt.Printf("%s%s┐\n", topBorder, strings.Repeat("─", termWidth-len(topBorder)-1)) |
