* Mark the previous frame as untrustworthy for blit, forcing the next * render to do a full-damage diff instead of the per-node fast path. * * Lighter than forceRedraw() — no screen clear, no extra write. Call * from a useLayoutEffect cleanup when unmounting a tall overlay: the * blit
()
| 848 | * onRender resets the flag at frame end so it's one-shot. |
| 849 | */ |
| 850 | invalidatePrevFrame(): void { |
| 851 | this.prevFrameContaminated = true; |
| 852 | } |
| 853 | |
| 854 | /** |
| 855 | * Called by the <AlternateScreen> component on mount/unmount. |