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

Is it possible to block "Ctrl + C"? #30

Open
Fisher-Wang opened this issue Apr 10, 2021 · 1 comment
Open

Is it possible to block "Ctrl + C"? #30

Fisher-Wang opened this issue Apr 10, 2021 · 1 comment

Comments

@Fisher-Wang
Copy link

When I made a typo in the terminal, I wanted to press Ctrl + C to cancel the command, but it exit to the cmd interface. Is it possible to change the behavior when receiving the interrupt signal? ;)

@yunus-sun
Copy link

When I made a typo in the terminal, I wanted to press Ctrl + C to cancel the command, but it exit to the cmd interface. Is it possible to change the behavior when receiving the interrupt signal? ;)

It can just press Ctrl + C to cancel the current executing command. But it will return to the cmd interface when no commands are currently being executed.

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

No branches or pull requests

2 participants