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