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

Returns incorrect exit code (130) when quitting. #5

Closed
richrd opened this issue Mar 17, 2015 · 3 comments
Closed

Returns incorrect exit code (130) when quitting. #5

richrd opened this issue Mar 17, 2015 · 3 comments
Labels

Comments

@richrd
Copy link
Owner

richrd commented Mar 17, 2015

Apparently curses messes up the exit code, even if trying to force it with sys.exit(0). Easiest fix is to use Ctrl-X instead of Ctrl-C for exiting.

@richrd richrd added the bug label Mar 17, 2015
@richrd
Copy link
Owner Author

richrd commented Mar 17, 2015

Changed exit key to Ctrl - X (like nano) to avoid this problem.

@richrd richrd closed this as completed Mar 17, 2015
@richrd
Copy link
Owner Author

richrd commented Mar 17, 2015

Still having the same problem. If Ctrl-C has been used while editing the exit code will always be 130. Won't revert since Ctrl-X is a good eXit key and is the same as in nano. Will get around this some other way. At least I can now submit my commit messages via Suplemon (as long as Ctrl-C is never used).

@richrd richrd reopened this Mar 17, 2015
@richrd
Copy link
Owner Author

richrd commented Mar 24, 2015

Fixed in refactoring branch. Will merge to master soon in the near future.

@richrd richrd closed this as completed Mar 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant