Skip to content

Commit

Permalink
Comment from @chipmunkie.
Browse files Browse the repository at this point in the history
  • Loading branch information
mum4k committed Jun 13, 2018
1 parent 870e1bd commit b989483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion draw/text.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func TrimText(text string, maxCells int, om OverrunMode) (string, error) {
switch {
case om == OverrunModeTrim:
// Only write the rune if it still fits, i.e. don't cut
// full-width runes in halt.
// full-width runes in half.
if cur+rw == maxCells {
b.WriteRune(r)
}
Expand Down

0 comments on commit b989483

Please sign in to comment.