Fixes #4449. Regression in IsLegacyConsole mode where dirty cells are not handled correctly (#4451)

* Fixes #4449. Regression in IsLegacyConsole mode where dirty cells are not handled correctly

* Cursor position is always set in the beginning a new row or on non-dirty flags
This commit is contained in:
BDisp
2025-12-06 16:09:52 +00:00
committed by GitHub
parent d303943809
commit 5e3175cd9d
2 changed files with 3 additions and 19 deletions

View File

@@ -151,7 +151,7 @@ public class OutputBaseTests
Assert.False (buffer.Contents! [0, 2].IsDirty);
// Verify SetCursorPositionImpl was invoked by WriteToConsole (cursor set to a written column)
Assert.Equal (new Point (0, 0), output.GetCursorPosition ());
Assert.Equal (new Point (2, 0), output.GetCursorPosition ());
}
[Theory]