Displaying unix color on windows cmd (e.g. ←[31m)
问题 I've recently started doing some ruby on rails development on Windows 7 and have found a number of commands (rspec, guard, etc) output colour codes that just show up in text on the windows command line (or through Console2 which I use). eg: ←[31mrspec ./spec/views/users/index.html.erb_spec.rb:21←[0m ←[36m# users/index renders a list of users←[0m ←[31mrspec ./spec/requests/homes_spec.rb:9←[0m ←[36m# Homes GET /homes ←[0m ←[31mrspec ./spec/views/users/new.html.erb_spec.rb:13←[0m ←[36m# users