-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Ctrl+C - Disable terminate batch job question #1666
Comments
Solution:clink set terminate_autoanswer 1 or, read @edmundo096's answer: #1666 (comment) ⚡ Wiki page: https://github.com/cmderdev/cmder/wiki/Customization#terminate-batch-job-yn 👉 Note: Restart Cmder session to take effect. @xelra Vote up for merging |
This was somewhat previously commented on #1488 |
Also discussed here #108
That should do the trick. |
Thanks @edmundo096! I added your solution to our wiki: |
just run:
|
Using I used |
That suggestion was given when Clink 0.4.9 was being used.
Yes, that's the new name. |
For the record: I've also added backward compatibility with old setting names (except for a couple that have been removed). That should make it so old posts that e.g. mention |
@chrisant996 Good idea, could you please also link the commit you made that enables this? |
I've linked it in the Clink repo and in the Clink documentation. Please feel free to link it here yourself if that seems desirable. That would be a nice way to help me out, so that I'm not single handedly doing all the things that are requested. I only have so much time. (Yes it took me longer to write that than it would have to find the change and link it. But I'm setting boundaries, so it's worth it.) |
@chrisant996 No worries, and thanks for all the wonderful work you're doing on Clink! I'm afraid I wasn't able to find the commit that made this change at that time either in the Clink.md documentation, or in Commits history, hence the request. However, upon further search, I found it at chrisant996/clink@b7ccf59, so I'd like to apologize for my request, and thank you for the time. |
One of the most annoying things when working with the Command Prompt on Windows is the
Terminate batch job (Y/N)?
question that has to be answered after pressingctrl+c
.Some people are ok with pressing
ctrl+c
twice, but this doesn't always work.Cmder brings the Unix workflow to Windows and a great feature would be to suppress this question.
There's a little project called CmdEx, which has exactly done that. Maybe the code could be mostly copied from that?
Thank you very much for considering.
The text was updated successfully, but these errors were encountered: