-
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
After eval with F8, PSReadLine prompt appears in command output #3685
Closed
5 tasks
SeeminglyScience opened this issue
Nov 10, 2021
· 5 comments
· Fixed by PowerShell/PowerShellEditorServices#1690
Closed
5 tasks
After eval with F8, PSReadLine prompt appears in command output #3685
SeeminglyScience opened this issue
Nov 10, 2021
· 5 comments
· Fixed by PowerShell/PowerShellEditorServices#1690
Labels
Area-Extension Terminal
Area-PSReadLine
Bug: Pre-release
Bugs reproducing only in the pre-release extension.
Issue-Bug
A bug to squash.
Milestone
Comments
In my case it appears "prior" to the code running, probably a race condition or unawaited async involved here. |
Thanks for the information on this one! @SeeminglyScience We marked as bug and will work to fix |
@SeeminglyScience Could you point me toward that "old code" and where in the new code you think this could be fixed? |
@andschwa sorry for the delay Old code: New code probably around here: |
Thanks! |
This was referenced Jan 21, 2022
Repository owner
moved this from In Progress
to Done
in Sea Biscuit
Feb 1, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Area-Extension Terminal
Area-PSReadLine
Bug: Pre-release
Bugs reproducing only in the pre-release extension.
Issue-Bug
A bug to squash.
Prerequisites
Summary
When press F8, the prompt and PSReadLine repl area should appear after command input. Currently it does not rerender after command completion, and retains it's position.
This makes me think we are not cancelling the call to
PSConsoleReadLine.ReadLine
but are instead just taking it over via the delegate. The call needs to be actually cancelled before invocation and then restarted after invocation. The old code for this shows how to do this while still preserving the current repl input.PowerShell Version
Visual Studio Code Version
Extension Version
Steps to Reproduce
Visuals
Logs
N/A
The text was updated successfully, but these errors were encountered: