summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tui/light.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tui/light.go b/src/tui/light.go
index 3062ab45..d051e67a 100644
--- a/src/tui/light.go
+++ b/src/tui/light.go
@@ -831,7 +831,7 @@ func wrapLine(input string, prefixLength int, max int, tabstop int) []wrappedLin
width := 0
line := ""
for _, r := range input {
- w := util.Max(util.RuneWidth(r, prefixLength+width, 8), 1)
+ w := util.RuneWidth(r, prefixLength+width, 8)
width += w
str := string(r)
if r == '\t' {