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

Function withSelectHeader

packages/effect/src/cli/Prompt.ts:3332–3333  ·  view source on GitHub ↗
(header: string | undefined, body: string)

Source from the content-addressed store, hash-verified

3330 : renderPrompt("", options.message, leadingSymbol, trailingSymbol, theme, renderOptions)
3331
3332const withSelectHeader = (header: string | undefined, body: string): string =>
3333 header === undefined ? body : header + "\n" + body
3334
3335const renderAutoCompleteFilter = <A>(
3336 state: AutoCompleteState,

Callers 3

Prompt.tsFile · 0.85
handleMultiSelectClearFunction · 0.85
handleSelectClearFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected