MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / internCharString

Function internCharString

source code/ink/screen.ts:847–849  ·  view source on GitHub ↗

* Intern a character string via the screen's shared CharPool. * Supports grapheme clusters like family emoji.

(screen: Screen, char: string)

Source from the content-addressed store, hash-verified

845 * Supports grapheme clusters like family emoji.
846 */
847function internCharString(screen: Screen, char: string): number {
848 return screen.charPool.intern(char)
849}
850
851/**
852 * Bulk-copy a rectangular region from src to dst using TypedArray.set().

Callers 1

setCellAtFunction · 0.85

Calls 1

internMethod · 0.45

Tested by

no test coverage detected