lib/travis/cli/command.rb in travis-1.1.3 vs lib/travis/cli/command.rb in travis-1.2.0

- old
+ new

@@ -10,10 +10,10 @@ class Command extend Parser extend Forwardable def_delegators :terminal, :agree, :ask, :choose - HighLine.use_color = !CLI.windows? && $stdin.tty? + HighLine.use_color = !CLI.windows? && $stdout.tty? HighLine.color_scheme = HighLine::ColorScheme.new do |cs| cs[:command] = [ :bold ] cs[:error] = [ :red ] cs[:important] = [ :bold, :underline ] cs[:success] = [ :green ]