diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/utils.rb | 2 | ||||
| -rw-r--r-- | Library/Homebrew/utils.rb | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/utils.rb b/Library/Homebrew/cask/lib/hbc/utils.rb index e151b0c1e..599127523 100644 --- a/Library/Homebrew/cask/lib/hbc/utils.rb +++ b/Library/Homebrew/cask/lib/hbc/utils.rb @@ -37,7 +37,7 @@ def odebug(title, *sput) if $stdout.tty? && title.to_s.length > width title = title.to_s[0, width - 3] + "..." end - puts "#{Tty.magenta}==> #{title}#{Tty.reset}" + puts "#{Tty.magenta}==>#{Tty.reset} #{Tty.white}#{title}#{Tty.reset}" puts sput unless sput.empty? end end diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index 7b7289ca2..c1e26af6d 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -25,6 +25,10 @@ class Tty bold 39 end + def magenta + bold 35 + end + def red underline 31 end |
