[][src]Module text_colorizer::control

A couple of functions to enable and disable coloring.

Structs

SHOULD_COLORIZE

The persistent ShouldColorize.

ShouldColorize

A flag to to if coloring should occur.

Functions

set_override

Use this to force colored to ignore the environment and always/never colorize See example/control.rs

unset_override

Remove the manual override and let the environment decide if it's ok to colorize See example/control.rs