pub fn disable()
Expand description
Unconditionally disables styling globally.
§Example
use yansi::Paint;
// With styling enabled, ANSI color codes are emitted, thus `ne`.
assert_ne!("go".green().to_string(), "go".to_string());
// With styling disabled, ANSI color codes are _not_ emitted.
yansi::disable();
assert_eq!("go".green().to_string(), "go".to_string());