Skip to content

styleTextFor

styleTextFor(terminal, text, options): string

Defined in: style-text-for.ts:9

styleText, reading colorDepth off terminal instead of the caller passing it.

Terminal

string

Omit<StyleTextOptions, "colorDepth">

string