可以在VS代码中停止终端

发布于 2025-02-12 00:38:28 字数 83 浏览 0 评论 0原文

我想用Ctrl + C停止终端,但它不用停止,而是显示 ^c(gitbash)/copy Directory(CMD)。因此,我决定杀死码头。如何处理?

I want to stop terminal in VS Code with CTRL + C but instead of stopping it, it shows ^C (GitBash)/copy directory (CMD). Because of that, I decided to kill the terminal. How to deal with that?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

没有你我更好 2025-02-19 00:38:28

使用ctrl + d登录终端,并自动关闭它。

ctrl + c只是向该过程发送一个sigint,这通常会导致其中止,但这取决于应用程序的决定。

您可以阅读有关它的更多信息在这里

Use Ctrl + D to log out of the terminal, and automatically close it.

Ctrl + C just sends a SIGINT to the process, which is usually causing it to abort, but it's up to the application to decide.

You can read more about it here.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文