Windows does not use terminal ANSI escape sequences. If you want to change font color, there is special API function call for it. Or, since Windows 10 version 16257, you can use ANSI escape sequences. But, for backwards compatibility, you need to enable it in each application by using the SetConsoleMode API function call. Or enable it for all applications by changing global Windows settings (in registry). So, in this pull request I added the SetConsoleMode call.
Windows does not use terminal ANSI escape sequences. If you want to change font color, there is special API function call for it. Or, since Windows 10 version 16257, you can use ANSI escape sequences. But, for backwards compatibility, you need to enable it in each application by using the SetConsoleMode API function call. Or enable it for all applications by changing global Windows settings (in registry). So, in this pull request I added the SetConsoleMode call.