pub fn enable_ansi_support() -> Result<(), Error>
Expand description

Enables ANSI code support on Windows 10.

Returns an io::Error with the Windows error code in it if unsuccessful.

On non-Windows platforms, this is a no-op that always returns Ok(()).

Examples

See the crate documentation.