henrik / progress_bar

Command-line progress bars and spinners for Elixir.
MIT License
333 stars 20 forks source link

Fix looping infinitely when progress is over 100% #14

Closed eproxus closed 8 years ago

eproxus commented 8 years ago

This adds a function clause so that when the progress is over 100%, a FunctionClauseError is generated instead of getting stuck in an infinite loop.

henrik commented 8 years ago

This is great, thank you!

henrik commented 8 years ago

Released as 1.5.0.

eproxus commented 8 years ago

Thanks for the quick turnaround! 😄