MCPcopy
hub / github.com/codeaashu/claude-code / clear

Method clear

src/ink/output.ts:227–229  ·  view source on GitHub ↗

* Clear a region by writing empty cells. Used when a node shrinks to * ensure stale content from the previous frame is removed.

(region: Rectangle, fromAbsolute?: boolean)

Source from the content-addressed store, hash-verified

225 * ensure stale content from the previous frame is removed.
226 */
227 clear(region: Rectangle, fromAbsolute?: boolean): void {
228 this.operations.push({ type: 'clear', region, fromAbsolute })
229 }
230
231 /**
232 * Mark a region as non-selectable (excluded from fullscreen text

Callers 15

setSystemPromptInjectionFunction · 0.45
submitMessageMethod · 0.45
clearPromptCacheFunction · 0.45
maybeInvalidateCacheFunction · 0.45
runAgentFunction · 0.45
clearSpeculativeChecksFunction · 0.45
clearWebFetchCacheFunction · 0.45
callFunction · 0.45

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected