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

Comments

Projects
None yet
2 participants
@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

This comment has been minimized.

Contributor

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