最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How do I clear an entire multiline prompt in the fish shell? - Stack Overflow

programmeradmin2浏览0评论

I accidentally pasted many, many lines of text into my prompt.

If I hold down C-u or C-k I’ll still be waiting a long time to clear everything.

Is there a keystroke combination that will clear the entire input?

I accidentally pasted many, many lines of text into my prompt.

If I hold down C-u or C-k I’ll still be waiting a long time to clear everything.

Is there a keystroke combination that will clear the entire input?

Share Improve this question asked Mar 17 at 11:35 adiabaticadiabatic 4063 silver badges11 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

Press C-c (Control-c) to clear the entire thing, at least as of fish 4.0.1.

发布评论

评论列表(0)

  1. 暂无评论