-
Notifications
You must be signed in to change notification settings - Fork 72
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
[Bug] divide by zero panic after exiting test #42
Comments
I can't say for sure without testing, but my guess is that this could happen when the test is quit before a character is typed, causing a division by zero in the wpm graph generation somewhere. I'll look into it tomorrow. |
After some testing, I have also been unable to reproduce this. If you're ever able to reproduce it, please update the issue and I can work on a fix. |
I just stumbled upon this error and came here to report it. |
Bug occurs randomly? Try with first three words in the |
Throws a panick sometimes
|
I think the issue is when a |
Just looked into it again. The issue is here Line 325 in 9790d54
And the fix is to simply increase the wpm range here to ensure at least two labels. |
I am using ttyper 0.4.0 and I have encountered a panic after escaping during test I don't know what causes it and i can't replicate it
The text was updated successfully, but these errors were encountered: