MCPcopy Create free account
hub / github.com/codeaashu/claude-code / initCharAscii

Function initCharAscii

src/ink/screen.ts:325–330  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

323// isEmptyCellByIndex checks if both words are 0 to identify "never visually written" cells.
324
325function initCharAscii(): Int32Array {
326 const table = new Int32Array(128)
327 table.fill(-1)
328 table[32] = EMPTY_CHAR_INDEX // ' ' (space)
329 return table
330}
331
332// --- Packed cell layout ---
333// Each cell is 2 consecutive Int32 elements in the cells array:

Callers 1

CharPoolClass · 0.85

Calls 1

fillMethod · 0.80

Tested by

no test coverage detected