lib/ronin/ui/output/output.rb in ronin-support-0.5.0.rc2 vs lib/ronin/ui/output/output.rb in ronin-support-0.5.0
- old
+ new
@@ -30,10 +30,10 @@
:verbose
else
:quiet
end
- @handler = if STDOUT.tty?
+ @handler = if $stdout.tty?
Terminal::Color
else
Terminal::Raw
end