I am learning C Programming currently on VS Code. I run program a lot of time repeatedly which mess up terminal. Mostly I use cls
before running program to clear previous output of terminal. My default terminal is PowerShell in VS Code. Is there any way to clean terminal before each run.
What I have tried after google search:
-I have tried adding cls
to powershell profile but it does not work on every code run.
-Checking clear previous output
in coderunner
settings didn't work either.