Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 498 Bytes

README.md

File metadata and controls

24 lines (20 loc) · 498 Bytes

termkolors

Build Status

The following

import termkolors.Term256
import termkolors.invoke

fun main() {
    with(Term256) {
        for (i in 0..15) {
            for (j in 0..15) {
                val code = i * 16 + j
                print(color(code)("$code".padStart(4)))
            }
            println()
        }
    }
}

will output:

output