Module | Sickill::Rainbow |
In: |
lib/ansi_color.rb
lib/ansi_rgb.rb lib/rainbow.rb |
TERM_COLORS | = | { :black => 0, :red => 1, :green => 2, :yellow => 3, :blue => 4, :magenta => 5, :cyan => 6, :white => 7, :default => 9, } |
TERM_EFFECTS | = | { :reset => 0, :bright => 1, :italic => 3, :underline => 4, :blink => 5, :inverse => 7, :hide => 8, } |
enabled | [RW] |
Resets terminal to default colors/backgrounds.
It shouldn‘t be needed to use this method because all methods append terminal reset code to end of string.