cbeust / kash

A shell powered by Kotlin
296 stars 15 forks source link

support text style 😄 #18

Closed Krosxx closed 5 years ago

Krosxx commented 5 years ago

https://github.com/ajalt/mordant

linux-china commented 5 years ago

Now my solution:

val t = com.github.ajalt.mordant.TermColors()
println(t.red("This text will be red on terminals that support color"))