mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-01 16:59:35 +01:00
ConsoleDriver now uses Region for Clip.
Still only rectangular regions. All tests pass.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user