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

Function processCursorDown

packages/cli/src/internal/prompt/file.ts:253–257  ·  view source on GitHub ↗
(state: State)

Source from the content-addressed store, hash-verified

251}
252
253function processCursorDown(state: State) {
254 return Effect.succeed(Action.NextFrame({
255 state: { ...state, cursor: (state.cursor + 1) % state.files.length }
256 }))
257}
258
259function processSelection(state: State, options: FileOptions) {
260 return Effect.gen(function*() {

Callers 1

handleProcessFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected