(options: FloatOptionsReq)
| 2972 | } |
| 2973 | |
| 2974 | const handleRenderFloat = (options: FloatOptionsReq) => { |
| 2975 | return (state: NumberState, action: Action<NumberState, number>) => { |
| 2976 | return Action.$match(action, { |
| 2977 | Beep: () => Effect.succeed(renderBeep), |
| 2978 | NextFrame: ({ state }) => renderNumberNextFrame(state, options), |
| 2979 | Submit: () => renderNumberSubmission(state, options) |
| 2980 | }) |
| 2981 | } |
| 2982 | } |
| 2983 | |
| 2984 | const handleProcessFloat = (options: FloatOptionsReq) => { |
| 2985 | return (input: Terminal.UserInput, state: NumberState) => { |