Permalink
Browse files

Fixed color support in OS X

  • Loading branch information...
1 parent 212e29b commit 907c1fc0bedce26fb5a27b1a802b26c2e96d2231 @liuhenry liuhenry committed Jan 22, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/edgecase.rb
View
@@ -122,6 +122,8 @@ def use_colors?
if ENV['ANSI_COLOR'].nil?
if using_windows?
using_win32console
+ else
+ return true
end
else
ENV['ANSI_COLOR'] =~ /^(t|y)/i

0 comments on commit 907c1fc

Please sign in to comment.