Color returns a string in a certain color if colors are enabled and available on that platform.
(code, msg string)
| 257 | // Color returns a string in a certain color if colors are enabled and |
| 258 | // available on that platform. |
| 259 | func Color(code, msg string) string { |
| 260 | return Default.Color(code, msg) |
| 261 | } |
| 262 | |
| 263 | // PromptUntil provides a prompt until one of the passed in strings has been |
| 264 | // entered and return is hit. Note, the comparisons are case insensitive meaning |