VincentFoulon80 / console_engine

A simple terminal framework to draw things and manage user input
https://crates.io/crates/console_engine
MIT License
220 stars 7 forks source link

Allow users to handle terminal size errors #26

Closed r59q closed 10 months ago

r59q commented 10 months ago

I stumbled onto an issue when using TeamCity to run test suites, and found that it would panic when attempting to run the test suite, since the size couldn't be resolved.

This PR will allow users to handle this case instead of panic. Otherwise TeamCity build agents cannot test any applications using the console_engine crate.

VincentFoulon80 commented 10 months ago

Thank you for your report and contribution. 🙂

I'm gonna publish your changes later today