Fix code-runner.clearPrevious:true for terminal tab [Bug]
- VS Code Version: 1.89
- OS Version: Windows
- Code Runner Version: v0.12.2
Describe the bug When the code runner setting is set to "clear pervious output", and for the first run when the terminal is closed it works fine the terminal has nice output but in subsequent runs the output is ugly because there is massive space and weirdly formatted text. So please fix this issue.
To Reproduce Steps to reproduce the behavior:
- Press the run button more than once and you should so the massive gaps and weirdly formatted text for any programming language.
Actual behavior It introduces massive gap between the prompt and the output when you run the code more than once.
Expected behavior It should show the output and should not have any spaces and gaps before the output.
Screenshots
For the first run:
Subsequent runs:
I see this too. It appears to be related to my bug report. If I use "run code" is has the same problem. It looks like code runner is not sending the correct command to clear the terminal. Why does it not just send 'cls'? A temp fix to my problem is not to tick the 'Clear Previous Output' setting.