xur_

> module

std::io::c

ANSI colours

use std::io::c; in the browser

Each function returns text wrapped in an ANSI escape sequence and a reset, for printing to a terminal.

> functions

# blue(text: str) -> str

Returns text in that foreground colour.

# bold(text: str) -> str

Returns text in bold.

# cyan(text: str) -> str

Returns text in that foreground colour.

# dim(text: str) -> str

Returns text dimmed (faint).

# green(text: str) -> str

Returns text in that foreground colour.

# magenta(text: str) -> str

Returns text in that foreground colour.

# red(text: str) -> str

Returns text in that foreground colour.

# yellow(text: str) -> str

Returns text in that foreground colour.