struct Term::Prompt::Palette
- Term::Prompt::Palette
- Struct
- Value
- Object
Defined in:
prompt/palette.crConstructors
Instance Method Summary
- #active : Cor
- #clone
- #copy_with(enabled _enabled = @enabled, active _active = @active, help _help = @help, error _error = @error, warning _warning = @warning)
- #enabled : Cor
- #error : Cor
- #help : Cor
- #warning : Cor
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))
#
Instance Method Detail
def copy_with(enabled _enabled = @enabled, active _active = @active, help _help = @help, error _error = @error, warning _warning = @warning)
#