-
Notifications
You must be signed in to change notification settings - Fork 181
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
Rustyline crashes in linux if you hold enter #291
Comments
Sorry,
|
My platform:
|
I've also tried rustc on linux but still no error: |
That could be it. My guess is that it comes from the speed that the enter is happening, so trying it on a native install of Linux might be the best way to try to repro. |
@jonathandturner which terminal and shell are you using? My machine is native Arch Linux |
I can't repro in alacritty, but I can repro inside the default GNOME terminal for Pop! OS (an Ubuntu-based distro) |
@jonathandturner Would you mind trying to generate a backtrace ( |
With a bit more experimenting: I understand that this is verifying that you should be properly reset, but commenting it out doesn't seem to show any issues of not getting reset correctly: Lines 688 to 699 in 39f3578
I was wondering what kinds of issues this was trying to protect from. Maybe there's another way to do it? |
See #292 |
|
Fix by release 5.0.4 |
Repro:
Once you hold enter, after a few seconds you'll see:
The text was updated successfully, but these errors were encountered: