os/Terminal
-
class Attr
-
-
static method new → Attr
-
method init
-
reset → Int
-
bright → Int
-
dim → Int
-
under → Int
-
blink → Int
-
reverse → Int
-
hidden → Int
-
class Color
-
-
static method new → Color
-
method init
-
black → Int
-
red → Int
-
green → Int
-
yellow → Int
-
blue → Int
-
magenta → Int
-
cyan → Int
-
grey → Int
-
white → Int
-
class Terminal
-
-
static method new → Terminal
-
method init
-
static method setColor(f, b: Int)
- Set foreground and background color
-
static method setFgColor(c: Int)
- Set foreground color
-
static method setBgColor(c: Int)
- Set background color
-
static method setAttr(att: Int)
- Set text attribute
-
static method reset
- Reset the terminal colors and attributes