( nextState: TextState, leadingSymbol: string, trailingSymbol: string, options: TextOptionsReq, theme: Theme, renderOptions?: RenderOptions | undefined, submitted: boolean = false )
| 3814 | } |
| 3815 | |
| 3816 | const renderTextOutput = ( |
| 3817 | nextState: TextState, |
| 3818 | leadingSymbol: string, |
| 3819 | trailingSymbol: string, |
| 3820 | options: TextOptionsReq, |
| 3821 | theme: Theme, |
| 3822 | renderOptions?: RenderOptions | undefined, |
| 3823 | submitted: boolean = false |
| 3824 | ) => { |
| 3825 | const value = renderTextInput(nextState, options, theme, submitted, renderOptions) |
| 3826 | return renderPrompt(value, options.message, leadingSymbol, trailingSymbol, theme, renderOptions) |
| 3827 | } |
| 3828 | |
| 3829 | const renderTextNextFrame = Effect.fnUntraced(function*(state: TextState, options: TextOptionsReq) { |
| 3830 | const figures = yield* getTheme(options) |
no test coverage detected