Merge pull request #68 from liuhenry/master
authorMatthew Boston <matthew.boston@gmail.com>
Fri, 27 Jan 2012 18:51:25 +0000 (10:51 -0800)
committerMatthew Boston <matthew.boston@gmail.com>
Fri, 27 Jan 2012 18:51:25 +0000 (10:51 -0800)
Fixed color support in OS X

src/edgecase.rb

index 1443807..40c9607 100644 (file)
@@ -122,6 +122,8 @@ module EdgeCase
       if ENV['ANSI_COLOR'].nil?
         if using_windows?
           using_win32console
+        else
+          return true
         end
       else
         ENV['ANSI_COLOR'] =~ /^(t|y)/i