com.geirolz.app.toolkit.console
package com.geirolz.app.toolkit.console
Members list
Type members
Classlikes
An ADT witch describes the ANSI values typed.
An ADT witch describes the ANSI values typed.
AnsiValue.F
includes foreground colorsAnsiValue.B
includes background colorsAnsiValue.S
includes styles
You can combine multiple values with the combinators or with Monoid
instance
val value: AnsiValue = AnsiValue(
foreground = AnsiValue.F.RED,
foreground = AnsiValue.B.BLACK,
style = AnsiValue.S.BLINK
)
//or
AnsiValue.F.RED
.withBackground(AnsiValue.B.BLACK)
.withStyle(AnsiValue.S.BLINK)
Foreground | Background | |
---|---|---|
BLACK | BLACK_B | |
RED | RED_B | |
GREEN | GREEN_B | |
YELLOW | YELLOW_B | |
BLUE | BLUE_B | |
MAGENTA | MAGENTA_B | |
CYAN | CYAN_B | |
WHITE | WHITE_B |
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
In this article