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

characters to the console aren't echoed after a background then foreground of jruby irb session #2628

Open
rdp opened this issue Feb 27, 2015 · 3 comments

Comments

@rdp
Copy link
Contributor

rdp commented Feb 27, 2015

Unfortunately, I regret to have to "re report" this bug (basically resuming an irb console session causes echoes to local prompt to disappear)

$ irb
jruby-9.0.0.0.pre1 :001 > 33
 => 33
jruby-9.0.0.0.pre1 :002 > <ctrl+z>
[1]+  Stopped                 irb
$ fg
irb
34
34
 => 34
jruby-9.0.0.0.pre1 :003 >

I actually typed "35" in at the end--it isn't showing up.
Original manifestation: https://jira.codehaus.org/browse/JRUBY-6567

@Ch4s3
Copy link

Ch4s3 commented Mar 2, 2015

This happens in pry as well.

@headius
Copy link
Member

headius commented Mar 12, 2015

Very likely requires a similar fix, since 9k now uses more native IO than JDK APIs.

@headius
Copy link
Member

headius commented Mar 12, 2015

@rdp Maybe you can try to get rb-readline working on JRuby? It's a pure-Ruby (mostly) readline impl that may work well with 9k and may not have these issues.

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

3 participants