jazz_hands icon indicating copy to clipboard operation
jazz_hands copied to clipboard

wired <kbd style="color:white"> in pry console

Open MichaelSp opened this issue 11 years ago • 0 comments

I'm not sure if I missed something.

$ rails c
Loading development environment (Rails 4.1.1)
[1] blogApp >  p [ {test: false}, true ]
[{:test=>false}, true]
=> [
  <kbd style="color:white">[0] </kbd>{
    :test<kbd style="color:slategray"> =&gt; </kbd><kbd style="color:red">false</kbd>
  },
  <kbd style="color:white">[1] </kbd><kbd style="color:green">true</kbd>
]

You can't see it, but the first line [1] is colored correctly whereas the rest all has the same color.

One line in config/application.rb might be related.

AwesomePrint.defaults = {html: true}

I also tried html: false and without that line. Both without success. I'd like to have this true by default. But this option shouldn't make a difference for the pry console imho.

This is my Gemfile

#[...]
  gem 'jazz_hands', github: 'nixme/jazz_hands', branch: 'bring-your-own-debugger'
#[...]

MichaelSp avatar Jun 16 '14 19:06 MichaelSp