|
@@ -1571,6 +1571,12 @@ namespace Terminal.Gui {
|
|
if (damageRegion.Left == -1)
|
|
if (damageRegion.Left == -1)
|
|
return;
|
|
return;
|
|
|
|
|
|
|
|
+ if (!HeightAsBuffer) {
|
|
|
|
+ var windowSize = WinConsole.GetConsoleBufferWindow (out _);
|
|
|
|
+ if (!windowSize.IsEmpty && (windowSize.Width != Cols || windowSize.Height != Rows))
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+
|
|
var bufferCoords = new WindowsConsole.Coord () {
|
|
var bufferCoords = new WindowsConsole.Coord () {
|
|
X = (short)Clip.Width,
|
|
X = (short)Clip.Width,
|
|
Y = (short)Clip.Height
|
|
Y = (short)Clip.Height
|