Support auto-answering the batch "Terminate batch job (Y/N)?" question #133524
Labels
feature-request
Request for new features or functionality
insiders-released
Patch has been released in VS Code Insiders
on-release-notes
Issue/pull request mentioned in release notes
on-testplan
terminal
Integrated terminal issues
windows
VS Code on Windows issues
Milestone
When you hit
^C
during batch scripts they will ask this "Terminate batch job (Y/N)?" question which is super annoying and often the process that the batch script was running has already been killed anyway.Clink works around this by allowing configuring to auto answer the question and it's really nice. I put together a little prototype and it feels great:
The above was done by translating the terminal line to a string whenever process data comes in and checking if it contains that text. We would want to look into faster alternatives to that and to also ensure we don't answer twice for the same line (just in case):
The text was updated successfully, but these errors were encountered: