# File lib/ruote/log/fancy_printing.rb, line 64
  def color(mod, s, clear=false)

    return s if Ruote::WIN
    return s unless STDOUT.tty?

    "[#{mod}m#{s}#{clear ? '' : "[#{@color}m"}"
  end