formulahendry / formulahendry/vscode-code-runner
[Bug]Cannot clear Java previous output before run
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 351
- PR merge metrics
- No merged PRs in 30d
Description
- 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:
1. Write a `.java` file and run with Code Runner
2. 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
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.