ConsoleDriver now uses Region for Clip.

Still only rectangular regions.
All tests pass.
This commit is contained in:
Tig
2024-10-27 23:18:38 -07:00
parent d92ef0fd7b
commit 844179b1bd
17 changed files with 57 additions and 54 deletions

View File

@@ -101,7 +101,8 @@ internal class CursesDriver : ConsoleDriver
{
// Not a valid location (outside screen or clip region)
// Move within the clip region, then AddRune will actually move to Col, Row
Curses.move (Clip.Y, Clip.X);
Rectangle clipRect = Clip.GetBounds ();
Curses.move (clipRect.Y, clipRect.X);
}
}