mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-30 09:47:58 +01:00
Merge pull request #717 from BDisp/listview-last-col-write
Fixes #714 Allowing ListView writing in the last col.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user