vscode-code-runner
vscode-code-runner copied to clipboard
[Bug]Cannot clear Java previous output before run
- VS Code Version: 1.80.1
- OS Version: Windows 11 23h2 22631.2048(beta)
- Code Runner Version: 0.12.0
Describe the bug
When running Java code with Code Runner, the previous output in Terminal cannot be cleared by Code Runner settings. It just shows up as a transparent character, but is actually still in the Terminal and reappears in special cases. When I add the cls command for Java in the Code Runner settings, the cd command in the terminal disappears as well.
To Reproduce Steps to reproduce the behavior:
- Write a
.javafile and run with Code Runner - Then run it again and see the Terminal
Actual behavior It just hide the previous output as a transparent character, they're still there.
Expected behavior
Clear the previous output as other language do, like c or cpp.
Screenshots
If applicable, add screenshots to help explain your problem.
run the second time
run the third time