Skip to content

Commit

Permalink
lower wrap width so its also usable in smaller terminal sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
piqoni committed Jun 11, 2024
1 parent d58583e commit 2e5e093
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func wrapText(text, indent string) []string {
var lines []string
var sb strings.Builder

maxWidth := 80
maxWidth := 60

for _, word := range words {
if sb.Len()+len(word)+1 > maxWidth {
Expand Down

0 comments on commit 2e5e093

Please sign in to comment.