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

Enables ANSI code support on Windows 10.

This uses Windows API calls to alter the properties of the console that the program is running in.

https://msdn.microsoft.com/en-us/library/windows/desktop/mt638032(v=vs.85).aspx

Returns a Result with the Windows error code if unsuccessful.