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

Function select

source code/components/VirtualMessageList.tsx:348–353  ·  view source on GitHub ↗
(m: NavigableMessage)

Source from the content-addressed store, hash-verified

346 }, [getItemHeight, messages]);
347 useImperativeHandle(cursorNavRef, (): MessageActionsNav => {
348 const select = (m: NavigableMessage) => setCursor?.({
349 uuid: m.uuid,
350 msgType: m.type,
351 expanded: false,
352 toolName: toolCallOf(m)?.name
353 });
354 const selIdx = selectedIndex ?? -1;
355 const scan = (from: number, dir: 1 | -1, pred: (i: number) => boolean = isVisible) => {
356 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