6
VS Code 更新了,可以愉快地 Ctrl+C 了
source link: https://www.v2ex.com/t/834028
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
终端现在有一个选择功能,当收到一个特定的字符序列时自动回复。一个很好的例子是,在运行批处理脚本时,点击 Ctrl+C 后,会显示 Windows 批处理脚本信息 Terminate batch job (Y/N)? 为了让终端在 Windows 的 Ctrl+C 时自动回复 Y 和回车(\r ),请添加以下设置。
"terminal.integrated.autoReplies": {
"Terminate batch job (Y/N)?": "Y\r"
}
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK