Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MichaelSp opened this issue Jun 16, 2014 · 0 comments
Open

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

MichaelSp opened this issue Jun 16, 2014 · 0 comments

Comments

@MichaelSp
Copy link

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'
#[...]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant