aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat
diff options
context:
space:
mode:
authorMarkus Reiter2016-10-02 05:36:50 +0200
committerGitHub2016-10-02 05:36:50 +0200
commit8b06a01e5b94fec9876a4fdfea1177496a0b7c93 (patch)
tree90ed60f4960de7642276534e568419f7d61d7c86 /Library/Homebrew/compat
parentfa14c262454c2678ca9c8a1caa2f0080833ac67a (diff)
parent1eab17235ca80c86850d1079ccb255b076d4b557 (diff)
downloadbrew-8b06a01e5b94fec9876a4fdfea1177496a0b7c93.tar.bz2
Merge pull request #823 from reitermarkus/refactoring-tty
Refactor Tty.
Diffstat (limited to 'Library/Homebrew/compat')
-rw-r--r--Library/Homebrew/compat/utils.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Homebrew/compat/utils.rb b/Library/Homebrew/compat/utils.rb
index 7de5e85c3..7b529f04e 100644
--- a/Library/Homebrew/compat/utils.rb
+++ b/Library/Homebrew/compat/utils.rb
@@ -8,3 +8,11 @@ def shell_profile
else "~/.bash_profile"
end
end
+
+module Tty
+ module_function
+
+ def white
+ reset.bold
+ end
+end