caskroom/homebrew-cask — pull request #8402 by rolandwalker (2014-12-24 17:00:25+00:00)
Title: Refactor Homebrew's `Tty` class

which was incorporated into our codebase

* separate attributes from colors
* don't reset all attributes when setting a color
* cover all basic colors and attributes
* use more standard names *ie* `Tty#underline` instead of `Tty#em`
* add `Tty#background`
* add `Tty#attributes` for multiple attributes
* sanity checks
* style

This fixes some minor bugs such as the display of underline under single dash in audit output.