git://git.eng.unimelb.edu.au
/
ruby_koans.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
212e29b
)
Fixed color support in OS X
author
Henry Liu
<henry@liuhenry.com>
Sun, 22 Jan 2012 08:17:45 +0000
(
00:17
-0800)
committer
Henry Liu
<henry@liuhenry.com>
Sun, 22 Jan 2012 08:20:40 +0000
(
00:20
-0800)
src/edgecase.rb
patch
|
blob
|
history
diff --git
a/src/edgecase.rb
b/src/edgecase.rb
index
1443807
..
40c9607
100644
(file)
--- a/
src/edgecase.rb
+++ b/
src/edgecase.rb
@@
-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