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

fix: terminal prints mouse escape codes after closing radar #124

Merged
merged 2 commits into from
Feb 28, 2022

Conversation

paunstefan
Copy link
Contributor

After closing the program (with either q or Control + C) the terminal would print the mouse escape codes on all mouse movements (example below).
mouse_bug

I was able to fix it by disabling mouse events capturing on program quit.

I think it fixes #116.

The other commit just adds a #[rustfmt::skip] attribute, as rustfmt didn't like the aligned equal signs in that enum and it would break them.

@wcampbell0x2a
Copy link
Member

Thanks for the investigation!

@wcampbell0x2a wcampbell0x2a merged commit 8a9d440 into rsadsb:master Feb 28, 2022
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

Successfully merging this pull request may close these issues.

Terminal left in broken state
2 participants