MCPcopy Index your code
hub / github.com/codeaashu/claude-code / internCharString

Function internCharString

src/ink/screen.ts:845–847  ·  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

843 * Supports grapheme clusters like family emoji.
844 */
845function internCharString(screen: Screen, char: string): number {
846 return screen.charPool.intern(char)
847}
848
849/**
850 * 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