(options: FileOptions)
| 234 | } |
| 235 | |
| 236 | function handleRender(options: FileOptions) { |
| 237 | return (_: State, action: Prompt.Prompt.Action<State, string>) => { |
| 238 | return Action.$match(action, { |
| 239 | Beep: () => Effect.succeed(renderBeep), |
| 240 | NextFrame: ({ state }) => renderNextFrame(state, options), |
| 241 | Submit: ({ value }) => renderSubmission(value, options) |
| 242 | }) |
| 243 | } |
| 244 | } |
| 245 | |
| 246 | function processCursorUp(state: State) { |
| 247 | const cursor = state.cursor - 1 |
no test coverage detected
searching dependent graphs…