Charles Oliver Nutter
Charles Oliver Nutter
Ok, so this isn't a complete fix. It does bring you back to the prompt, but the already-entered text is still in a buffer somewhere: ``` [] ~/projects/jruby $ jirb...
Bumping to 9.1.4.0 to investigate further improvement.
Ok, a quick check of rb-readline shows that it does not work properly (on JRuby) wrt ^C either. So something more needs to be done either way. Maybe @djberg96 or...
@etehtsea The jnr-constants snapshot has been fixed for #4135, and a preventative measure will merge in with #4137. This issue is still outstanding.
Ok, it seems like something's wrong registering the SIGINT handler in IRB that's responsible for cancelling execution and input. I can see it get registered, but it never seems to...
So it turns out the ^C issue might be a jline problem. jline registers its own signal handler so it can intercept various readliney signals. Seems very likely that's getting...
I may have stumbled on to a way to make things work correctly with rb-readline. 1. Install rb-readline gem 2. Remove lib/stdlib/readline\* from JRuby 3. Comment out the bodies of...
I had almost forgotten about @koichiro's excellent work on [readline-ffi](https://github.com/koichiro/readline-ffi) so many years ago! readline-ffi is _almost_ perfect. Just gem install it, remove readline from stdlib, and you can do...
We need to re-spin jruby-readline without this fix and get it into 9.1.6.0 as a default gem.
@enebo Ok, I guess I answered my own question here. We need to spin jruby-readline for 9.1.6.0.