struct Term::Prompt::Palette

Defined in:

prompt/palette.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(enabled : Cor = Cor.color(:dark_grey), active : Cor = Cor.color(:green), help : Cor = Cor.color(:dim_grey), error : Cor = Cor.color(:red), warning : Cor = Cor.color(:yellow)) #

[View source]

Instance Method Detail

def active : Cor #

def clone #

[View source]
def copy_with(enabled _enabled = @enabled, active _active = @active, help _help = @help, error _error = @error, warning _warning = @warning) #

[View source]
def enabled : Cor #

def error : Cor #

def help : Cor #

def warning : Cor #