io.sureshg.extn / AnsiColor

AnsiColor

enum class AnsiColor

ANSI color/graphics extension functions.

Author
Suresh G

See Also

ANSI_escape_code

Lihaoyi_Blog

TLDP

CusrorMovement

EscapeSeq

PythonTerminalColor

Enum Values

Reset

Bold

Faint

Italic

Underline

BlinkSlow

BlinkRapid

ReverseVideo

Concealed

CrossedOut

Normal

NoStandout

NoUnderline

NoBlink

Black

DarkGray

Red

LightRed

Green

LightGreen

Yellow

LightYellow

Blue

LightBlue

Magenta

LightMagenta

Cyan

LightCyan

White

LightGray

BlackBg

RedBg

GreenBg

YellowBg

BlueBg

MagentaBg

CyanBg

WhiteBg

Fg

FgEnd

Bg

BgEnd

HlEnd

HiBlack

HiRed

HiGreen

HiYellow

HiBlue

HiMagenta

HiCyan

HiWhite

HiBlackBg

HiRedBg

HiGreenBg

HiYellowBg

HiBlueBg

HiMagentaBg

HiCyanBg

HiWhiteBg

Properties

codes

vararg val codes: IntArray

esc

val esc: AnsiEsc

Returns ANSI escape unicode for the color.

Extension Properties

p

val Any?.p: Unit

Prints the Any.toString to console.