From 71e21543f02902baea32a5057cf1ca6442a80d1c Mon Sep 17 00:00:00 2001 From: sloumdrone Date: Sat, 4 Jan 2020 10:53:24 -0800 Subject: [PATCH] Fixes line wrapping to 80 columns rather than 79 --- page.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/page.go b/page.go index 10d23b0..46c95ba 100644 --- a/page.go +++ b/page.go @@ -99,7 +99,7 @@ func (p *Page) WrapContent(width int, color bool) { } continue } else { - if counter < width { + if counter <= width { content.WriteRune(ch) counter++ } else {