Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Clear-Host command scrolls instead of clearing history #551
When executing the
After the next command executed, it can be difficult to find the beginning of the output as
referenced this issue
Mar 24, 2017
changed the title from
Clear command scrolls instead of clearing history
Clear-Host command scrolls instead of clearing history
May 24, 2017
Ok, I have come up with a way to fix this. VS Code provides a command called
This is a bug in VS Code unfortunately. To verify, start a new VS Code Integrated Terminal with powershell.exe, run Get-Process and then Clear-Host, observe that the screen clearing behavior is exactly the same as in the PowerShell extension's Integrated Console.
I'll have to discuss this with the VS Code team to get it resolved since there's nothing that can be done from within the PowerShell extension to fix it.
@daviwil Hi David, i'm sorry to keep going on about this. But i just had a hard time again with big chunks of data because of the host not clearing. Is there any ETA on this? Is this being look at at this moment?