I need "clear buffer" action in console

When I press "ctrl + L" in the terminal, the terminal log appears to disappear. But in fact, if you scroll up with the mouse, you will see the previous log. Is there any chance this will be fixed?

It would be helpful to have the log disappear completely when verifying errors over and over again.

similar issue:
https://intellij-support.jetbrains.com/hc/en-us/community/posts/360010648539-Clearing-the-Python-Console

I'm having this problem with pycharm, but it's probably the same with other language IDEs

1
This is a normal behavior for most terminal emulators. Is it different in your system terminal app?
0

thanks andrey san

I use VSCode for my work and VSCode disables mouse scrolling by pressing "clear". But if the behavior of most "editor" is as you say, I'd better get used to it.

 

0

yoshitaka okada Actually, there is a command "Clear terminal" which you can find in the keymap settings that does exactly what you want, you can try assigning a shortcut for it. But it behaves differently on different OSs. E.g. on macOS it works for me flawlessly, but not in Windows.

0

thanks Andrey Resler san

I am using windows. And I am aware that I cannot clear the console with Ctrl+L.

Let's end this conversation now. thank you :)

0

Actually, this is a bug. PowerShell 7 has a hot key for “Clear Terminal” it actually clears the terminal. But JetBrains ignores that and just scrolls it, which is just silly and unusable. The “Clear Terminal” in JB just doesn't work.

1
Hi,

Thank you for bringing this to our attention. We are aware of the issue and are actively working on it, please upvote and star the following ticket to track any updates:
https://youtrack.jetbrains.com/issue/IJPL-101362

Best regards,
Uros Glogovac
IntelliJ Support
0

请先登录再写评论。