v3.ansi
fn blue #
fn blue(message string) string
blue returns message wrapped in ANSI blue escape sequences.
fn bold #
fn bold(message string) string
bold returns message wrapped in ANSI bold escape sequences.
fn bright_blue_stderr #
fn bright_blue_stderr(message string) string
bright_blue_stderr highlights message when stderr supports ANSI colors.
fn red #
fn red(message string) string
red returns message wrapped in ANSI red escape sequences.
fn set_colors_enabled #
fn set_colors_enabled(enabled bool)
set_colors_enabled controls ANSI wrapping for compiler diagnostics.
fn stderr_supports_escape_sequences #
fn stderr_supports_escape_sequences() bool
stderr_supports_escape_sequences reports whether stderr and the environment permit ANSI colors.
fn yellow #
fn yellow(message string) string
yellow returns message wrapped in ANSI yellow escape sequences.