MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / getScreenText

Function getScreenText

packages/core/src/testing/renderer.ts:572–576  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

570 };
571 let screenTextCache: string | null = null;
572 const getScreenText = (): string => {
573 if (screenTextCache !== null) return screenTextCache;
574 screenTextCache = opsToText(ops, viewport);
575 return screenTextCache;
576 };
577
578 const textStartedAt = Date.now();
579 const screenTextForTrace = trace ? getScreenText() : "";

Callers 1

renderFunction · 0.85

Calls 1

opsToTextFunction · 0.85

Tested by

no test coverage detected