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

Trap Ctrl+C in bash/zsh #509

Closed
farseerfc opened this issue May 21, 2013 · 1 comment
Closed

Trap Ctrl+C in bash/zsh #509

farseerfc opened this issue May 21, 2013 · 1 comment

Comments

@farseerfc
Copy link

@farseerfc farseerfc commented May 21, 2013

It is common to use ctrl+c to stop a program in bash/zsh, while hitting ctrl+c for multiple times will not kill bash/zsh itself.
Powerline should emulate this behavior when using as bash/zsh prompt, so that hitting ctrl+c quickly would not brings KeyboardInterrupt from python.

@ZyX-I
Copy link
Contributor

@ZyX-I ZyX-I commented Jan 17, 2014

This will be fixed with powerline-daemon which runs really fast. It is not impossible to press <C-c> during python startup before any try block have any chance to catch interrupt.

@ZyX-I ZyX-I closed this Jan 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants