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

On windows 10 you can't restart snake example if you hit left wall #19

Closed lesleyrs closed 1 year ago

lesleyrs commented 1 year ago

Describe the bug When you lose the game after hitting the left "wall" you can no longer restart the game with space. I tried to find out why but I have no clue. The game is still running telling you to press space, but it doesn't react to it.

Additional context Windows 10, Windows terminal and Console host both have the issue.

VincentFoulon80 commented 1 year ago

It wasn't an issue specific to Windows, but instead a softlock caused by the reset code not properly setting back to the starting values. The issue should be fixed on version 2.5.1

Thank you for the report!