MCPcopy Create free account
hub / github.com/Effect-TS/effect / renderConfirmOutput

Function renderConfirmOutput

packages/effect/src/unstable/cli/Prompt.ts:1482–1488  ·  view source on GitHub ↗
(
  confirm: string,
  leadingSymbol: string,
  trailingSymbol: string,
  options: ConfirmOptionsReq,
  renderOptions?: RenderOptions | undefined
)

Source from the content-addressed store, hash-verified

1480}
1481
1482const renderConfirmOutput = (
1483 confirm: string,
1484 leadingSymbol: string,
1485 trailingSymbol: string,
1486 options: ConfirmOptionsReq,
1487 renderOptions?: RenderOptions | undefined
1488) => renderPrompt(confirm, options.message, leadingSymbol, trailingSymbol, renderOptions)
1489
1490const renderConfirmNextFrame = Effect.fnUntraced(function*(state: ConfirmState, options: ConfirmOptionsReq) {
1491 const figures = yield* platformFigures

Callers 2

handleConfirmClearFunction · 0.85
Prompt.tsFile · 0.85

Calls 1

renderPromptFunction · 0.85

Tested by

no test coverage detected