Fixes #714 Allowing ListView writing in the last col.

This commit is contained in:
BDisp
2020-06-21 13:34:40 +01:00
parent 1c25d6ce2c
commit 4f3fd52cc7

View File

@@ -568,7 +568,7 @@ namespace Terminal.Gui {
for (int i = 0; i < byteLen;) {
(var rune, var size) = Utf8.DecodeRune (ustr, i, i - byteLen);
var count = Rune.ColumnWidth (rune);
if (used + count >= width)
if (used + count > width)
break;
driver.AddRune (rune);
used += count;