lib/splash/loggers/cli.rb in prometheus-splash-0.4.3 vs lib/splash/loggers/cli.rb in prometheus-splash-0.4.4

- old
+ new

@@ -66,9 +66,10 @@ def color=(status) get_config.loggers[:cli][:color] = status end def check_unicode_term + return false unless ENV.include? "TERM" if ENV.values_at("LC_ALL","LC_CTYPE","LANG").compact.first.include?("UTF-8") and ENV.values_at('TERM').first.include? "xterm" then return true else return false end