[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:
Stan Lo 2023-08-11 17:03:06 +01:00 committed by git
parent a8cd18f08d
commit d3311e5cc3

View File

@ -9,12 +9,14 @@ module IRB # :nodoc:
BOLD = 1
UNDERLINE = 4
REVERSE = 7
BLACK = 30
RED = 31
GREEN = 32
YELLOW = 33
BLUE = 34
MAGENTA = 35
CYAN = 36
WHITE = 37
TOKEN_KEYWORDS = {
on_kw: ['nil', 'self', 'true', 'false', '__FILE__', '__LINE__', '__ENCODING__'],