supportsAnsi

expect fun supportsAnsi(): Boolean(source)

Checks if the current terminal supports ANSI color codes.

Used to determine whether to output colored text or plain text.

Return

true if ANSI colors are supported, false otherwise

actual fun supportsAnsi(): Boolean
actual fun supportsAnsi(): Boolean