MCPcopy Create free account
hub / github.com/codeaashu/claude-code / invalidatePrevFrame

Method invalidatePrevFrame

src/ink/ink.tsx:850–852  ·  view source on GitHub ↗

* 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

()

Source from the content-addressed store, hash-verified

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.

Callers 1

_tempFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected