Powershell热键删除当前行?

发布于 2024-09-16 17:06:06 字数 46 浏览 0 评论 0原文

我想执行一个热键来删除 powershell 会话中的当前行。这样的事可能吗?

I would like to execute a hotkey that would erase the current line in the powershell session. Is such a thing possible?

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

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

发布评论

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

评论(2

羁〃客ぐ 2024-09-23 17:06:06

Esc 对我有用

Esc works for me

如果没结果 2024-09-23 17:06:06

除了使用Esc清除整行外,还可以使用:

  • Ctrl+Home从当前位置擦除回上一行。开头,或

  • Ctrl+End 从当前位置擦除到末尾。

Besides using Esc to clear the whole line, you can also use:

  • Ctrl+Home to erase from the current position back to the beginning, or

  • Ctrl+End to erase from the current position to the end.

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