Module: Colorful

Defined in:
lib/colorful.rb,
lib/colorful/version.rb

Constant Summary collapse

COLORS =
{ :black   => 0,
:red     => 1,
:green   => 2,
:yellow  => 3,
:blue    => 4,
:magenta => 5,
:cyan    => 6,
:white   => 7,
:default => 9 }
EFFECTS =
{ :reset     => 0,
:bright    => 1,
:bold      => 1,
:italic    => 3,
:underline => 4,
:blink     => 5,
:inverse   => 7,
:hide      => 8 }
MOVEMENT =
{ :up    => 'F',
:down  => 'E',
:left  => 'D',
:right => 'C',
:to    => 'G' }
VERSION =
"0.0.3"