mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 00:38:11 -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"
|
const val WHITE = "\u001B[37m"
|
||||||
|
|
||||||
private fun wrap(s: String, color: String) = color + s + RESET
|
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 red(s: String) = wrap(s, RED)
|
||||||
private fun yellow(s: String) = wrap(s, YELLOW)
|
private fun yellow(s: String) = wrap(s, YELLOW)
|
||||||
|
|
||||||
fun taskColor(s: String) = yellow(s)
|
fun taskColor(s: String) = s
|
||||||
fun errorColor(s: String) = red(s)
|
fun errorColor(s: String) = s
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue