Skip to content

Conversation

@certik
Copy link
Collaborator

@certik certik commented Sep 13, 2024

This only fixes pressing Ctrl-C on the command-line itself, not while running another program.

@certik
Copy link
Collaborator Author

certik commented Sep 13, 2024

I tested this on both Linux and Windows, so I am going to merge this one.

@certik certik merged commit 8b08567 into prefix-dev:main Sep 13, 2024
@certik certik deleted the ctrl_c branch September 13, 2024 21:13
@wolfv
Copy link
Member

wolfv commented Sep 13, 2024

I think we can use the stdc crate to capture the signal

@certik
Copy link
Collaborator Author

certik commented Sep 13, 2024

I tried something similar here: #123, but couldn't get it to work.

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.

2 participants