You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
extra line after submitting command in VS Code terminal #1042
This is actually a build of PSReadLine using PR #979
Steps to reproduce
Using PowerShell in VS Code's terminal (currently 1.38.1 Stable and Nightly) enter commands until the buffer (screen) is full. At that time, every command entered seems to receive a blank line immediately after the last line of the command, before the results or next prompt appears. This can be demonstrated with a blank command entry.
This does not happen with the normal Windows console, nor does this happen if I switch to CMD in a PowerShell session, inside VS Code's terminal.
this only happens in the PowerShell Integrated Console inside VS Code (VSCode-PowerShell extension)
PSReadLine cannot be removed from the PowerShell Integrated Console, so I haven't been able to determine that this issue isn't actually from the integrated console or its implementation of PSReadLine.
So its possible this issue belongs in the VSCode-PowerShell repository.
PSReadLine cannot be removed from the PowerShell Integrated Console, so I haven't been able to determine that this issue isn't actually from the integrated console or its implementation of PSReadLine.
You should (hopefully) be able to set "powershell.developer.featureFlags": [] to disable it.
So its possible this issue belongs in the VSCode-PowerShell repository.
Yeah it does. When I was integrating PSRL I was a bit aggressive in fixing an issue where prompts stayed on the same line and forgot to go back and fix it. Should be just removing an extra WriteOutput line in the host somewhere.
Thanks, Patrick Meinecke (@SeeminglyScience), I was going to doublecheck the method to the powershell.developer.featureFlags, and sure enough that indicates that without the integration of PSReadLine in the integrated console, the double line feeds stop.
I'll close this here and reopen one in VSCode-PowerShell.
Activity
msftrncs commentedon Sep 17, 2019
I forgot two details:
So its possible this issue belongs in the VSCode-PowerShell repository.
SeeminglyScience commentedon Sep 18, 2019
You should (hopefully) be able to set
"powershell.developer.featureFlags": []to disable it.Yeah it does. When I was integrating PSRL I was a bit aggressive in fixing an issue where prompts stayed on the same line and forgot to go back and fix it. Should be just removing an extra
WriteOutputline in the host somewhere.msftrncs commentedon Sep 18, 2019
Thanks, Patrick Meinecke (@SeeminglyScience), I was going to doublecheck the method to the
powershell.developer.featureFlags, and sure enough that indicates that without the integration of PSReadLine in the integrated console, the double line feeds stop.I'll close this here and reopen one in VSCode-PowerShell.