From bc9becc2eb65425dc819cad42f4fad4863932f64 Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Fri, 11 Aug 2023 15:09:43 +0100 Subject: [PATCH] Add black and white color to IRB::Color --- lib/irb/color.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/irb/color.rb b/lib/irb/color.rb index fa99ed6fd..ad8670160 100644 --- a/lib/irb/color.rb +++ b/lib/irb/color.rb @@ -9,12 +9,14 @@ module Color 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__'],