|
|
@@ -67,22 +67,6 @@ public abstract class OutputBase
|
|
|
Attribute? redrawAttr = null;
|
|
|
int lastCol = -1;
|
|
|
|
|
|
- if (IsLegacyConsole)
|
|
|
- {
|
|
|
- // BUGBUG: This is a workaround for some regression in legacy console mode where
|
|
|
- // BUGBUG: dirty cells are not handled correctly. Mark all cells dirty as a workaround.
|
|
|
- lock (buffer.Contents!)
|
|
|
- {
|
|
|
- for (var row = 0; row < buffer.Rows; row++)
|
|
|
- {
|
|
|
- for (var c = 0; c < buffer.Cols; c++)
|
|
|
- {
|
|
|
- buffer.Contents [row, c].IsDirty = true;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
SetCursorVisibility (CursorVisibility.Invisible);
|
|
|
|
|
|
for (int row = top; row < rows; row++)
|
|
|
@@ -117,6 +101,8 @@ public abstract class OutputBase
|
|
|
lastCol++;
|
|
|
}
|
|
|
|
|
|
+ SetCursorPositionImpl (lastCol, row);
|
|
|
+
|
|
|
continue;
|
|
|
}
|
|
|
|
|
|
@@ -296,8 +282,6 @@ public abstract class OutputBase
|
|
|
|
|
|
private void WriteToConsole (StringBuilder output, ref int lastCol, int row, ref int outputWidth)
|
|
|
{
|
|
|
- SetCursorPositionImpl (lastCol, row);
|
|
|
-
|
|
|
if (IsLegacyConsole)
|
|
|
{
|
|
|
Write (output);
|