Fix incorrect overflow detection when --wrap is set

Fix #4083
This commit is contained in:
Junegunn Choi committed 2024-11-12 00:33:07 +09:00
1 parent 20c7dcfbca
commit 3ec035c68b
1 file changed
+1 -1
+1 -1
View File
@@ -306,5 +306,5 @@ func (chars *Chars) Lines(multiLine bool, maxLines int, wrapCols int, wrapSignWi
}
}
return wrapped, false
return wrapped, overflow
}