struct Cride::Terminal::Color
- Cride::Terminal::Color
- Struct
- Value
- Object
Defined in:
terminal/color.crConstructors
Instance Method Summary
- #ansi_background(color, mode = Mode::Normal)
- #ansi_foreground(color, mode = Mode::Normal)
- #bg : String
- #bg_cursor : String
- #bg_cursor_num : Int32
- #bg_info : String
- #bg_line : String
- #bg_unsaved : String
- #fg : String
- #fg_cursor : String
- #fg_info : String
- #fg_line : String
- #fg_unsaved : String
- #reset : String
Constructor Detail
def self.new(fg : Int32 = 15, bg : Int32 = 0, fg_line : Int32 = fg, bg_line : Int32 = bg, fg_info : Int32 = fg, bg_info : Int32 = bg, fg_cursor : Int32 = bg_line, bg_cursor : Int32 = fg_line, fg_unsaved : Int32 = 1, bg_unsaved : Int32 = bg_info)
#