Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Esc as interrupt #155

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

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