emsquid / pic

Preview Image in CLI.
MIT License
57 stars 4 forks source link

Fix a divide by zero error #1

Closed dtomvan closed 1 year ago

dtomvan commented 1 year ago

Commits:

The divide by zero error occured on an inappropriate ioctl, such as a redirected stdout. Originally this caused the program to panic, but now those errors are handled in a more "Rusty" way.