Skip to content

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 yellow #

fn yellow(message string) string

yellow returns message wrapped in ANSI yellow escape sequences.