(options: TextOptionsReq)
| 3930 | } |
| 3931 | |
| 3932 | const handleTextRender = (options: TextOptionsReq) => { |
| 3933 | return (state: TextState, action: Action<TextState, string>) => { |
| 3934 | return Action.$match(action, { |
| 3935 | Beep: () => Effect.succeed(renderBeep), |
| 3936 | NextFrame: ({ state }) => renderTextNextFrame(state, options), |
| 3937 | Submit: () => renderTextSubmission(state, options) |
| 3938 | }) |
| 3939 | } |
| 3940 | } |
| 3941 | |
| 3942 | const handleTextProcess = (options: TextOptionsReq) => { |
| 3943 | return (input: Terminal.UserInput, state: TextState) => { |