1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

Turn off colors.

This commit is contained in:
Cedric Beust 2015-12-12 23:36:27 +04:00
parent b895d4c8f2
commit 77723a8711

View file

@ -85,11 +85,12 @@ class AsciiArt {
const val WHITE = "\u001B[37m"
private fun wrap(s: String, color: String) = color + s + RESET
private fun blue(s: String) = wrap(s, BLUE/)
private fun red(s: String) = wrap(s, RED)
private fun yellow(s: String) = wrap(s, YELLOW)
fun taskColor(s: String) = yellow(s)
fun errorColor(s: String) = red(s)
fun taskColor(s: String) = s
fun errorColor(s: String) = s
}
}