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

reline handles ^C differently than readline #56

Closed
hanazuki opened this issue Sep 12, 2019 · 2 comments
Closed

reline handles ^C differently than readline #56

hanazuki opened this issue Sep 12, 2019 · 2 comments

Comments

@hanazuki
Copy link

When user types ^C (ctrl-c) during Readline.readline, SIGINT is sent to the program, which in turn converted to an Interrupt exception. Reline.readline, however, returns a String with "\x03".

By bisecting I suppose this behaviour change was introduced in 8670d33 (#54)

Steps to reproduce:

  1. Start bundle exec bin/example.
  2. Type ^C.
  3. Expect the program to halt.
@aycabta
Copy link
Member

aycabta commented Sep 12, 2019

Thank you for your reporting. I'm always troubled by the behavior but I forgot to fix it because I'm always troubled by other insanely many bugs. It's about time I'll fix it preferentially. Please wait a little longer.

@aycabta
Copy link
Member

aycabta commented Sep 13, 2019

This is fixed by 900951a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants