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

SIGINT handling leaves the terminal in raw mode after exit #2179

Open
vihai opened this issue Mar 16, 2021 · 0 comments
Open

SIGINT handling leaves the terminal in raw mode after exit #2179

vihai opened this issue Mar 16, 2021 · 0 comments

Comments

@vihai
Copy link

vihai commented Mar 16, 2021

I run this simple code:

require 'pry'
binding.pry

Then I press CTRL-C, SIGINT is trapped by pry and that's fine.
I close the pry session with exit or CTRL-D and the terminal is left in raw mode. I have to run reset to restore it.

Verified with pry 0.14 and 0.13.1 on Ubuntu 21.04 (development)
Does not happen on Ubuntu 20.10

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