Crate terminalcolor
source · [−]Functions
Convert shorthand color codes into actual color codes.
Best if used in conjunction with the format!
macro.
Print string s
in color color
.
Supports ANSI colors.
Print string with color. Syntax specified in convert()
documentation.
Print string s
in color color
with a newline.
Supports ANSI colors.
Print string s
with color with a newline. Syntax specified in convert()
documentation.