Skip to content

Instantly share code, notes, and snippets.

@lstoldt
Created November 13, 2010 23:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lstoldt/675758 to your computer and use it in GitHub Desktop.
Save lstoldt/675758 to your computer and use it in GitHub Desktop.
Getting Autotest colors to work on Windows

Change "print" to "putc" circa line 316 in autotest.rb

This will break if you're using UTF accented characters.

See the following...

Github issue

Proposal to deprecate win32console

This is only necessary under Ruby 1.9 as autotest still uses putc otherwise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment