Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

Instance Method

consoleStylized(_:)

Wraps a string in the ANSI codes indicated by the ConsoleStyle specification.
func consoleStylized(_ style: ConsoleStyle) -> String

Parameters

style

The ConsoleStyle to use for styling.

Return Value

The string wrapped in ANSI codes.