(options: DateOptionsReq)
| 1706 | } |
| 1707 | |
| 1708 | const handleDateRender = (options: DateOptionsReq) => { |
| 1709 | return (state: DateState, action: Action<DateState, globalThis.Date>) => { |
| 1710 | return Action.$match(action, { |
| 1711 | Beep: () => Effect.succeed(renderBeep), |
| 1712 | NextFrame: ({ state }) => renderDateNextFrame(state, options), |
| 1713 | Submit: () => renderDateSubmission(state, options) |
| 1714 | }) |
| 1715 | } |
| 1716 | } |
| 1717 | |
| 1718 | const handleDateProcess = (options: DateOptionsReq) => { |
| 1719 | return (input: Terminal.UserInput, state: DateState) => { |