struct Cride::Terminal::Color

Defined in:

terminal/color.cr

Constructors

Instance Method Summary

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) #

[View source]

Instance Method Detail

def ansi_background(color, mode = Mode::Normal) #

[View source]
def ansi_foreground(color, mode = Mode::Normal) #

[View source]
def bg : String #

[View source]
def bg_cursor : String #

[View source]
def bg_cursor_num : Int32 #

[View source]
def bg_info : String #

[View source]
def bg_line : String #

[View source]
def bg_unsaved : String #

[View source]
def fg : String #

[View source]
def fg_cursor : String #

[View source]
def fg_info : String #

[View source]
def fg_line : String #

[View source]
def fg_unsaved : String #

[View source]
def reset : String #

[View source]