From b98948326b255c2cc9b6186922a0da56fd2eba58 Mon Sep 17 00:00:00 2001 From: Jakub Sobon Date: Wed, 13 Jun 2018 17:28:32 +0100 Subject: [PATCH] Comment from @chipmunkie. --- draw/text.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/draw/text.go b/draw/text.go index 008799c..c0f1109 100644 --- a/draw/text.go +++ b/draw/text.go @@ -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) }