I have a command line program, which outputs logging to the screen.
I want error lines to show up in red. Is there some special character codes I can output to switc
You need to access the [Win32 Console API](http://msdn.microsoft.com/en-us/library/ms682073(VS.85%29.aspx). Unfortunately, I don't know how you'd do that from Ruby. In Perl, I'd use the Win32::Console module. The Windows console does not respond to ANSI escape codes.
According to the article on colorizing Ruby output that artur02 mentioned, you need to install & load the win32console gem.