Corrects wrapped lines to ensure they fit the required terminal width

This commit is contained in:
asdf 2020-06-21 14:24:12 +10:00
parent bc38cb8fb5
commit 980f236d84
1 changed files with 1 additions and 0 deletions

View File

@ -130,6 +130,7 @@ func (p *Page) WrapContent(width int, color bool) {
counter += len(spacer)
}
content.WriteRune(ch)
counter++
}
}
}