( nextState: TextState, leadingSymbol: string, trailingSymbol: string, options: TextOptionsReq, renderOptions?: RenderOptions | undefined, submitted: boolean = false )
| 3552 | } |
| 3553 | |
| 3554 | const renderTextOutput = ( |
| 3555 | nextState: TextState, |
| 3556 | leadingSymbol: string, |
| 3557 | trailingSymbol: string, |
| 3558 | options: TextOptionsReq, |
| 3559 | renderOptions?: RenderOptions | undefined, |
| 3560 | submitted: boolean = false |
| 3561 | ) => { |
| 3562 | const value = renderTextInput(nextState, options, submitted, renderOptions) |
| 3563 | return renderPrompt(value, options.message, leadingSymbol, trailingSymbol, renderOptions) |
| 3564 | } |
| 3565 | |
| 3566 | const renderTextNextFrame = Effect.fnUntraced(function*(state: TextState, options: TextOptionsReq) { |
| 3567 | const figures = yield* platformFigures |
no test coverage detected