lib/ronin/ui/output/output.rb in ronin-1.1.0.rc2 vs lib/ronin/ui/output/output.rb in ronin-1.1.0.rc3
- old
+ new
@@ -24,10 +24,15 @@
module UI
#
# Controls {Output} from Ronin.
#
module Output
- @mode = :quiet
+ @mode = if ENV['VERBOSE']
+ :verbose
+ else
+ :quiet
+ end
+
@handler = if STDOUT.tty?
Terminal::Color
else
Terminal::Raw
end