[−][src]Module colored_truecolor::control
A couple of functions to enable and disable coloring.
Structs
SHOULD_COLORIZE | |
ShouldColorize |
Functions
set_override | Use this to force colored to ignore the environment and always/never colorize See example/control.rs |
set_virtual_terminal | Sets a flag to the console to use a virtual terminal environment. This is primarily used for Windows 10 environments which will not correctly colorize the outputs based on ansi escape codes. |
unset_override | Remove the manual override and let the environment decide if it's ok to colorize See example/control.rs |