-
Notifications
You must be signed in to change notification settings - Fork 510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display the command that is running in the PowerShell console on the same line #3786
Display the command that is running in the PowerShell console on the same line #3786
Comments
Thanks for raising! It is a change in behavior and can be jarring to users so I think it's a valid ask. There's a couple other related issues e.g. debug doesn't issue newline after prompt |
Yeah there's a lot of work around redisplaying the prompt properly that we need to do! This is definitely valid and thank you for reporting. |
I'm looking at this, but I'm not sure how addressable it is. Technically when running a script via F5 or arbitrary selected code via F8, we cancel the current prompt and just run the code...so it is explicitly not running on that prompt but entirely separately. Note that if you add anything to that prompt but don't hit enter, and then hit F8, everything at the prompt is thrown away instead. So what it's currently displaying is more accurate. That said, I think we could re-render the prompt in front of the command we're about to run. |
That sounds good. Btw I have a lot of issues around the display (clear-host helping partially) where the text goes over text, and even new lines stop working under debugging. Should I create separate issues or update it here? |
Let's see how much PowerShell/PowerShellEditorServices#1690 and PowerShell/PowerShellEditorServices#1691 help out with that. I'll get a new Preview out soon, and then for any more problems yes please new issues! |
Prerequisites
Summary
I know this is nitpicking but somehow in the new Preview I dislike that it shows the execution on the next line rather than on same line:
Production:
PowerShell Version
Visual Studio Code Version
Extension Version
Steps to Reproduce
Run code with F5
Visuals
No response
Logs
No response
The text was updated successfully, but these errors were encountered: