( exitOnCtrlC: boolean = false, )
| 85 | * @param exitOnCtrlC - Whether to exit on Ctrl+C (usually false for dialogs) |
| 86 | */ |
| 87 | export function getBaseRenderOptions( |
| 88 | exitOnCtrlC: boolean = false, |
| 89 | ): RenderOptions { |
| 90 | const stdin = getStdinOverride() |
| 91 | const options: RenderOptions = { exitOnCtrlC } |
| 92 | if (stdin) { |
| 93 | options.stdin = stdin |
| 94 | } |
| 95 | return options |
| 96 | } |
no test coverage detected