-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[Marked CLI] ^C causes manpage error #2706
Comments
I'm ok with either. Option 1 sounds right to me. Where did you get the information that |
I actually don't know where I got that from (unixexchange question), but the |
Marked version:
master
branch. Tested on commitd28cc87
, but is also reproducible on the stable4.2.5
version.Describe the bug
The CTRL C signal is never sent to the
man
command, causing the following error:To Reproduce
Run
marked --help
, and once the manpage opens, press CTRL C (^C).Expected behavior
Marked CLI should either:
man
handle SIGINT (tested locally, if it does this then it safely exits without a newline printed)By the way, I'm fully open to fixing it, but I'm unsure about which one of the two behaviors above (or some other behavior) would be preferred.
The text was updated successfully, but these errors were encountered: