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

WiP: Handle CTRL-C interrupts from terminal to shutdown Mu gracefully #1324

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dybber
Copy link
Collaborator

@dybber dybber commented Feb 22, 2021

Installs a SIGINT interrupt handler, to catch if a user types CTRL-C in a shell to close Mu, when the interrupt occurs close Mu by calling editor.quit()

This is a draft, as I'm not sure if this makes any sense on Windows, and I still need to add tests.

@dybber dybber changed the title WiP: Handle CTRL-C interrupts from terminal, to shutdown Mu gracefully WiP: Handle CTRL-C interrupts from terminal to shutdown Mu gracefully Feb 22, 2021
@dybber
Copy link
Collaborator Author

dybber commented Feb 22, 2021

Forgot to link this with the issue #1322

@ntoll
Copy link
Member

ntoll commented Jun 19, 2021

@dybber 👋 this is marked as a WiP.

Any progress..? Thanks..! :-)

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.

None yet

2 participants