mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-02 01:03:29 +01:00
@@ -1571,6 +1571,12 @@ namespace Terminal.Gui {
|
||||
if (damageRegion.Left == -1)
|
||||
return;
|
||||
|
||||
if (!HeightAsBuffer) {
|
||||
var windowSize = WinConsole.GetConsoleBufferWindow (out _);
|
||||
if (!windowSize.IsEmpty && (windowSize.Width != Cols || windowSize.Height != Rows))
|
||||
return;
|
||||
}
|
||||
|
||||
var bufferCoords = new WindowsConsole.Coord () {
|
||||
X = (short)Clip.Width,
|
||||
Y = (short)Clip.Height
|
||||
|
||||
Reference in New Issue
Block a user