(state: SelectState, choices: SelectOptionsReq<A>["choices"])
| 3305 | } |
| 3306 | |
| 3307 | const processSelectNext = <A>(state: SelectState, choices: SelectOptionsReq<A>["choices"]) => { |
| 3308 | return Effect.succeed(Action.NextFrame({ state: (state + 1) % choices.length })) |
| 3309 | } |
| 3310 | |
| 3311 | const processAutoCompleteCursorUp = (state: AutoCompleteState) => { |
| 3312 | if (state.filtered.length === 0) { |
no test coverage detected