[ruby/irb] Add black and white color to IRB::Color
(https://github.com/ruby/irb/pull/676) https://github.com/ruby/irb/commit/a2763acade
This commit is contained in:
parent
a8cd18f08d
commit
d3311e5cc3
@ -9,12 +9,14 @@ module IRB # :nodoc:
|
|||||||
BOLD = 1
|
BOLD = 1
|
||||||
UNDERLINE = 4
|
UNDERLINE = 4
|
||||||
REVERSE = 7
|
REVERSE = 7
|
||||||
|
BLACK = 30
|
||||||
RED = 31
|
RED = 31
|
||||||
GREEN = 32
|
GREEN = 32
|
||||||
YELLOW = 33
|
YELLOW = 33
|
||||||
BLUE = 34
|
BLUE = 34
|
||||||
MAGENTA = 35
|
MAGENTA = 35
|
||||||
CYAN = 36
|
CYAN = 36
|
||||||
|
WHITE = 37
|
||||||
|
|
||||||
TOKEN_KEYWORDS = {
|
TOKEN_KEYWORDS = {
|
||||||
on_kw: ['nil', 'self', 'true', 'false', '__FILE__', '__LINE__', '__ENCODING__'],
|
on_kw: ['nil', 'self', 'true', 'false', '__FILE__', '__LINE__', '__ENCODING__'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user