(options: DateOptionsReq)
| 1868 | } |
| 1869 | |
| 1870 | const handleDateRender = (options: DateOptionsReq) => { |
| 1871 | return (state: DateState, action: Action<DateState, globalThis.Date>) => { |
| 1872 | return Action.$match(action, { |
| 1873 | Beep: () => Effect.succeed(renderBeep), |
| 1874 | NextFrame: ({ state }) => renderDateNextFrame(state, options), |
| 1875 | Submit: () => renderDateSubmission(state, options) |
| 1876 | }) |
| 1877 | } |
| 1878 | } |
| 1879 | |
| 1880 | const handleDateProcess = (options: DateOptionsReq) => { |
| 1881 | return (input: Terminal.UserInput, state: DateState) => { |