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

Function cellAt

src/ink/screen.ts:593–597  ·  view source on GitHub ↗
(screen: Screen, x: number, y: number)

Source from the content-addressed store, hash-verified

591 * this is intentional as cells are stored packed, not as objects.
592 */
593export function cellAt(screen: Screen, x: number, y: number): Cell | undefined {
594 if (x < 0 || y < 0 || x >= screen.width || y >= screen.height)
595 return undefined
596 return cellAtIndex(screen, y * screen.width + x)
597}
598/**
599 * Get a Cell view by pre-computed array index. Skips bounds checks and
600 * index computation — caller must ensure index is valid.

Callers 5

renderFullFrameMethod · 0.85
wordBoundsAtFunction · 0.85
findPlainTextUrlAtFunction · 0.85
extractRowTextFunction · 0.85
getHyperlinkAtMethod · 0.85

Calls 1

cellAtIndexFunction · 0.85

Tested by

no test coverage detected