Skip to content

launchBannerText

launchBannerText(input): string

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/launchBanner.ts:461

Render the banner as one multi-line string for the plain (readline) surface.

Colour is the 16-colour magenta slot from ANSI_COLORS — the SAME slot the rest of the CLI uses — and never a 256-colour or 24-bit escape: the 16-colour slot picks up the violet from the user’s own terminal theme, so the sloth looks native in both light and dark schemes. The right column carries no escape at all, not even dim.

With colour: false the output contains ZERO escape sequences — not one dim wrapper, not one reset — so a monochrome session (useColour: false) stays genuinely clean. The caller decides; the plain surface passes getUseColour(), the TUI passes nothing and lets Ink’s own colour-support detection make the same call.

LaunchBannerInput

string