Closed esjee closed 8 years ago
Looking into it a bit more, it looks like the buffer is read-only. After changing that (C-x C-q (?)) it looks like everything works as expected.
Changing the buffer to not be read-only (much like rails-console) seems doable enough. Do you have any thoughts on this?
Are you using pry-rails
in Rails as IRB replacement for rails console?
Yes, rails-console opens a pry shell, not IRB.
For me hitting C-x C-q didn't allow me to interact with pry.
I had to run inf-ruby-switch-from-compilation
in order to do it.
Although I had to manually delete "[0G[1] " before the prompt.
Oh the workaround for "�[0G[1] " is here #12
@esjee are you calling inf-ruby-auto-enter
somewhere in your setup? That would explain why you have compilation mode enabled right after hitting the breakpoint.
Or maybe inf-ruby-switch-setup
that way you are enabling compilation mode when hitting C-x C-q.
Sorry the for the late response!
I checked, and that was indeed the issue. Thanks for the help!
When using something like binding.pry to open a console, I'm unable to interact with the repl. Is this intentional?
(Note sure if it's noteworthy, but I'm using evil.)