MCPcopy Create free account
hub / github.com/Noumena-Network/code / clearAnsiSpanCache

Function clearAnsiSpanCache

src/ink/Ansi.tsx:34–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32const ansiSpanCache = new Map<string, Span[]>();
33
34export function clearAnsiSpanCache(): void {
35 ansiSpanCache.clear();
36}
37
38/**
39 * Component that parses ANSI escape codes and renders them using Text components.

Callers 2

runMarkdownMountScenarioFunction · 0.85
Ansi.test.tsFile · 0.85

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected