MCPcopy Index your code
hub / github.com/Effect-TS/effect / processCursorDown

Function processCursorDown

packages/cli/src/internal/prompt/multi-select.ts:202–205  ·  view source on GitHub ↗
(state: State, totalChoices: number)

Source from the content-addressed store, hash-verified

200}
201
202function processCursorDown(state: State, totalChoices: number) {
203 const newIndex = (state.index + 1) % totalChoices
204 return Effect.succeed(Action.NextFrame({ state: { ...state, index: newIndex } }))
205}
206
207function processSpace<A>(
208 state: State,

Callers 1

handleProcessFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…