如何在IntelliJ 2023.1中清除终端缓冲区?

huangapple go评论40阅读模式
英文:

How to clear terminal buffer in IntelliJ 2023.1?

问题

我最近下载了 IntelliJ IDEA 2023.1(Ultimate 版本)
版本号 #IU-231.8109.175,建立于 2023 年 3 月 28 日

在以前的版本中,我可以按 "Ctrl+L" 来清除终端缓冲区。但现在不起作用了。

如果你在终端中右键单击,会出现一个选项菜单,其中有一个项目是 "清除缓冲区 Ctrl+L",但是它是灰色的。

我是否漏掉了某些设置?

英文:

I recently downloaded

IntelliJ IDEA 2023.1 (Ultimate Edition)
Build #IU-231.8109.175, built on March 28, 2023

In a previous version I used to be able to hit "Ctrl+L" to clear the terminal buffer. That no longer works.

If you right click in the terminal there is an option menu with an item for
"Clear Buffer Ctrl+L"
but it is greyed out.

Is there some setting I am missing?

答案1

得分: 3

这与此错误报告相关:
IDEA-289979

修复方法:

  • 转到帮助 > 查找操作 > 注册表
  • 向下滚动,直到找到 terminal.use.conpty.on.windows

确保复选框未选中。点击完成。

就是这样。现在可以清除任何新打开的终端了。

英文:

This is related to this bug report:
IDEA-289979

To fix it:

  • Go to Help > Find Action > Registry
  • Scroll down till you find terminal.use.conpty.on.windows

Make sure the checkbox is unchecked. Click Done.

That's it. Any newly opened terminal will be able to be cleared now.

huangapple
  • 本文由 发表于 2023年4月17日 06:48:14
  • 转载请务必保留本文链接:https://go.coder-hub.com/76030689.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定