Created
July 12, 2011 22:35
-
-
Save nobuf/1079154 to your computer and use it in GitHub Desktop.
Return bolded string for CLI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function bold($str) | |
{ | |
return chr(27) . "[1m" . $str . chr(27) . "[0m"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment