Instance Method
consoleStylized(_:)
Wraps a string in the ANSI codes indicated by the
ConsoleStyle specification.func consoleStylized(_ style: ConsoleStyle) -> String
Parameters
styleThe
ConsoleStyleto use for styling.
Return Value
The string wrapped in ANSI codes.