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

Fixed bug in crossterm event polling #70

Merged
merged 1 commit into from
Nov 2, 2023

Conversation

fritzrehde
Copy link
Owner

In the initial implementation of #67, crossterm's EventStream would buffer past terminal events. So, even though the pausing synchronization was correct, crossterm still listened for some terminal events, even though it shouldn't. This bug fix involves creating a new EventStream everytime the terminal event polling thread should start polling (again).

@fritzrehde fritzrehde self-assigned this Nov 2, 2023
@fritzrehde fritzrehde marked this pull request as ready for review November 2, 2023 15:39
@fritzrehde fritzrehde merged commit 368badb into main Nov 2, 2023
5 checks passed
@fritzrehde fritzrehde deleted the fix-crossterm-event-polling branch November 2, 2023 15:41
@fritzrehde fritzrehde added the bug Something isn't working label Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant