diff --git a/lib/pry/helpers/text.rb b/lib/pry/helpers/text.rb index 1a1ee53e..3f8db0b8 100644 --- a/lib/pry/helpers/text.rb +++ b/lib/pry/helpers/text.rb @@ -29,10 +29,6 @@ class Pry end end - alias_method :grey, :bright_black - alias_method :gray, :bright_black - - # Remove any color codes from _text_. # # @param [String, #to_s] text diff --git a/lib/pry/pry_class.rb b/lib/pry/pry_class.rb index 578d3ef5..f19c5f82 100644 --- a/lib/pry/pry_class.rb +++ b/lib/pry/pry_class.rb @@ -258,7 +258,7 @@ class Pry end # To avoid mass-confusion, we change the default colour of "white" to - # "grey" enabling global legibility + # "blue" enabling global legibility def self.fix_coderay_colors to_fix = if (CodeRay::Encoders::Terminal::TOKEN_COLORS rescue nil) # CodeRay 1.0.0 @@ -272,7 +272,7 @@ class Pry end end - to_fix[:comment] = "1;30" if to_fix + to_fix[:comment] = "0;34" if to_fix end # Basic initialization.