mirror of
https://github.com/utmapp/SwiftTerm.git
synced 2026-11-30 18:33:36 -10:00
the wrong chunk of data. Starting with BigSur any screen updates will invoke the draw() method with the whole region, regardless of how much changed. Added a new `disableFullRedrawOnAnyChanges` property that by default will make the Terminal avoid this new behavior. It can be controlled by client code. Setting this to true, will disable this OS behavior, setting it to false, will keep the original BigSur behavior to redraw the whole region. For more details on this see: https://gist.github.com/lukaskubanek/9a61ac71dc0db8bb04db2028f2635779 https://developer.apple.com/forums/thread/663256?answerId=646653022#646653022 Added an NSView.rectsBeingDrawn method to get the exposed areas - also sort of worthless on BigSur an older if the flag is not set.