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:
parent
b895d4c8f2
commit
77723a8711
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue