diff options
| author | Jeff Carr <[email protected]> | 2025-08-22 06:12:47 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-08-22 06:12:47 -0500 |
| commit | fbc5ebe4cebc94a1ac63b52788087c9dfbc46e0f (patch) | |
| tree | fe398c66332b19f13732de994f9fa8774a434af1 /prettyFormat.go | |
| parent | d9e7420b31be172e767843da6905e5b2e7cd83b2 (diff) | |
wtf. this should work
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)) |
