#92 protect clearPhysical

This commit is contained in:
Autumn Lamonte 2022-01-29 18:31:31 -06:00
parent c860754e5a
commit 7a26371353

View file

@ -1402,8 +1402,10 @@ public class SwingTerminal extends LogicalScreen
if (resizeComponent) {
swing.setDimensions(textWidth * width, textHeight * height);
}
synchronized (this) {
clearPhysical();
}
}
/**
* Resize the physical screen to match the logical screen dimensions.