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

Changed timeout to support double values #54

Merged
merged 1 commit into from
Oct 11, 2019

Conversation

mavaa
Copy link
Contributor

@mavaa mavaa commented Oct 11, 2019

Terribly sorry if I've asked about this before, but I just (re)discovered this change I made locally probably a couple of years ago. Couldn't find any previous issues or PRs related to this though, so here goes:

This simply enables you to use decimal numbers as the timeout, IE. 0.2 seconds, which is what I use on my machine. It's also compatible with integers, as 1 is simply read as 1.0 which works just fine. I haven't done too much coding in C, so feel free to butcher my implementation/formatting 🙂

@Airblader
Copy link
Owner

Looks great, thank you!

@Airblader Airblader merged commit e9d1b24 into Airblader:master Oct 11, 2019
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.

2 participants