Fixes wide runes not render well on NetDriver.

This commit is contained in:
BDisp
2022-04-08 00:58:47 +01:00
parent 2a29ca520d
commit e8fd8c503c

View File

@@ -1451,13 +1451,13 @@ namespace Terminal.Gui {
dirtyLine [row] = false;
System.Text.StringBuilder output = new System.Text.StringBuilder ();
for (int col = 0; col < cols; col++) {
if (contents [row, col, 2] != 1) {
continue;
}
if (Console.WindowHeight > 0 && !SetCursorPosition (col, row)) {
return;
}
for (; col < cols; col++) {
if (contents [row, col, 2] != 1) {
continue;
}
var attr = contents [row, col, 1];
if (attr != redrawAttr) {
output.Append (WriteAttributes (attr));