hexpm/ltest0.14.0ldoc

ltest-color

Apply optional ANSI foreground and bold color to report text.

black/1function

black/1

Wrap text in black when coloring is enabled; the one-argument form reads the VM color flag.

black/2function

black/2

For valid iodata STR, return color2.0's nested ANSI iodata when COLOR? is true; otherwise return STR unchanged.

blackb/1function

blackb/1

Wrap text in bold black when coloring is enabled; the one-argument form reads the VM color flag.

blackb/2function

blackb/2

For valid iodata STR, return color2.0's nested bold ANSI iodata when COLOR? is true; otherwise return STR unchanged.

blue/1function

blue/1

Wrap text in blue when coloring is enabled; the one-argument form reads the VM color flag.

blue/2function

blue/2

For valid iodata STR, return color2.0's nested ANSI iodata when COLOR? is true; otherwise return STR unchanged.

blueb/1function

blueb/1

Wrap text in bold blue when coloring is enabled; the one-argument form reads the VM color flag.

blueb/2function

blueb/2

For valid iodata STR, return color2.0's nested bold ANSI iodata when COLOR? is true; otherwise return STR unchanged.

get-color-option/0function

get-color-option/0

Read the first color init-argument value as an atom; use true when the argument is absent.

green/1function

green/1

Wrap text in green when coloring is enabled; the one-argument form reads the VM color flag.

green/2function

green/2

For valid iodata STR, return color2.0's nested ANSI iodata when COLOR? is true; otherwise return STR unchanged.

greenb/1function

greenb/1

Wrap text in bold green when coloring is enabled; the one-argument form reads the VM color flag.

greenb/2function

greenb/2

For valid iodata STR, return color2.0's nested bold ANSI iodata when COLOR? is true; otherwise return STR unchanged.

red/1function

red/1

Wrap text in red when coloring is enabled; the one-argument form reads the VM color flag.

red/2function

red/2

For valid iodata STR, return color2.0's nested ANSI iodata when COLOR? is true; otherwise return STR unchanged.

redb/1function

redb/1

Wrap text in bold red when coloring is enabled; the one-argument form reads the VM color flag.

redb/2function

redb/2

For valid iodata STR, return color2.0's nested bold ANSI iodata when COLOR? is true; otherwise return STR unchanged.

white/1function

white/1

Wrap text in white when coloring is enabled; the one-argument form reads the VM color flag.

white/2function

white/2

For valid iodata STR, return color2.0's nested ANSI iodata when COLOR? is true; otherwise return STR unchanged.

whiteb/1function

whiteb/1

Wrap text in bold white when coloring is enabled; the one-argument form reads the VM color flag.

whiteb/2function

whiteb/2

For valid iodata STR, return color2.0's nested bold ANSI iodata when COLOR? is true; otherwise return STR unchanged.

yellow/1function

yellow/1

Wrap text in yellow when coloring is enabled; the one-argument form reads the VM color flag.

yellow/2function

yellow/2

For valid iodata STR, return color2.0's nested ANSI iodata when COLOR? is true; otherwise return STR unchanged.

yellowb/1function

yellowb/1

Wrap text in bold yellow when coloring is enabled; the one-argument form reads the VM color flag.

yellowb/2function

yellowb/2

For valid iodata STR, return color2.0's nested bold ANSI iodata when COLOR? is true; otherwise return STR unchanged.