enum Console::Style
Defined in:
console/style.crEnum Members
-
Black =
30_u8
-
Red =
31_u8
-
Green =
32_u8
-
Yellow =
33_u8
-
Blue =
34_u8
-
Magenta =
35_u8
-
Cyan =
36_u8
-
Grey =
37_u8
-
White =
37_u8
-
Bold =
1_u8
-
Intense =
1_u8
-
Itaic =
3_u8
-
Faint =
3_u8
-
Underline =
4_u8
-
Blink =
5_u8
Class Method Summary
- .begin(style : Style?) : Style.class
- .begin(styles : Enumerable(Style)) : Style.class
- .end : Style.class
- .print(*strings, styles : StyleTypes?, separator = nil, terminator = nil) : Style.class
- .print(styles : Enumerable(Style), &block : -> Nil) : Style.class
- .print(style : Style?, &block : -> Nil) : Style.class
Instance Method Summary
- #black?
- #blink?
- #blue?
- #bold?
- #cyan?
- #faint?
- #green?
- #grey?
- #intense?
- #itaic?
- #magenta?
- #red?
-
#to_s(io : IO)
Appends a
String
representation of this enum member to the given io. - #underline?
- #white?
- #yellow?