Skip to content

Conversation

Terristen
Copy link

Fixes issue with using CTRL+C to interrupt prediction. The second CTRL+C would always close the application. This fix adds a check for the ESC key and sets the is_interactive variable to true when detected. This will force the program to return to interactive mode after the current prediction.

@Zerogoki00
Copy link

Thank you, works fine on Windows 11. Hope it will get merged

@michieal
Copy link

michieal commented Apr 4, 2023

Cool, but it's not cross-platform. This excludes macos and linux users. I am saying this, because this PR is a great idea... but, it breaks other builds. (I just looked it up, to verify that before saying anything.)

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.

3 participants