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

Function select

src/components/VirtualMessageList.tsx:346–351  ·  view source on GitHub ↗
(m: NavigableMessage)

Source from the content-addressed store, hash-verified

344 }, [getItemHeight, messages]);
345 useImperativeHandle(cursorNavRef, (): MessageActionsNav => {
346 const select = (m: NavigableMessage) => setCursor?.({
347 uuid: m.uuid,
348 msgType: m.type,
349 expanded: false,
350 toolName: toolCallOf(m)?.name
351 });
352 const selIdx = selectedIndex ?? -1;
353 const scan = (from: number, dir: 1 | -1, pred: (i: number) => boolean = isVisible) => {
354 for (let i = from; i >= 0 && i < messages.length; i += dir) {

Callers 1

scanFunction · 0.85

Calls 1

toolCallOfFunction · 0.85

Tested by

no test coverage detected