lib/ronin/ui/console.rb in ronin-1.1.0.rc2 vs lib/ronin/ui/console.rb in ronin-1.1.0.rc3

- old
+ new

@@ -29,11 +29,11 @@ class Console # The history file for the Console session HISTORY_FILE = File.join(Config::PATH,'console.log') - @@color = true - @@short_errors = true + @@color = !(STDOUT.tty?) + @@short_errors = !(ENV.has_key?('VERBOSE')) @@auto_load = [] @@setup_blocks = [] # # Determines whether colorized output will be enabled.