class
Exfetch::Options
- Exfetch::Options
- Reference
- Object
Defined in:
exfetch/option_handler.crConstant Summary
-
COLOR_MAP =
{"black" => 0_u8, "red" => 1_u8, "green" => 2_u8, "yellow" => 3_u8, "blue" => 4_u8, "magenta" => 5_u8, "cyan" => 6_u8, "white" => 7_u8, "bright_black" => 8_u8, "bright_red" => 9_u8, "bright_green" => 10_u8, "bright_yellow" => 11_u8, "bright_blue" => 12_u8, "bright_magenta" => 13_u8, "bright_cyan" => 14_u8, "bright_white" => 15_u8}
-
Map to ANSI 16-color codes (0-15) supported by most terminals
Class Method Summary
Instance Method Summary
- #ascii : String
- #ascii=(ascii : String)
- #color : UInt8
- #color=(color : UInt8)
- #lowercase : Bool
- #lowercase=(lowercase : Bool)
- #nerd_icons : Bool
- #nerd_icons=(nerd_icons : Bool)
- #order : Array(Symbol)
- #order=(order : Array(Symbol))
- #padding : Int32
- #padding=(padding : Int32)
- #right_justify : Bool
- #right_justify=(right_justify : Bool)
- #separator : String
- #separator=(separator : String)