Skip to content

Cursor placed incorrectly on PowerShell Extension Version 2019.11.0 #2276

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

Closed
PrzemyslawKlys opened this issue Nov 4, 2019 · 3 comments
Closed
Labels
Area-Extension Terminal Issue-Bug A bug to squash. Resolution-Fixed Will close automatically.

Comments

@PrzemyslawKlys
Copy link
Contributor

Issue Description

I am experiencing a problem with... cursor being moved/placed incorrectly on the screen if there's no output to console.

image

Please keep in mind I have not typed @ at all. Reported in another issue.

Attached Logs

Follow the instructions in the README about
capturing and sending logs.

Environment Information

Visual Studio Code

Name Version
Operating System Windows_NT x64 10.0.17763
VSCode 1.39.2
PowerShell Extension Version 2019.11.0

PowerShell Information

Name Value
PSVersion 5.1.17763.771
PSEdition Desktop
PSCompatibleVersions 1.0 2.0 3.0 4.0 5.0 5.1.17763.771
BuildVersion 10.0.17763.771
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

Visual Studio Code Extensions

Visual Studio Code Extensions(Click to Expand)
Extension Author Version
beautify HookyQR 1.5.0
gitlens eamodio 10.1.1
material-icon-theme PKief 3.9.1
open-in-browser techer 2.0.0
powershell-preview ms-vscode 2019.11.0
theme-monokai-pro-vscode monokai 1.1.14
vscode-wakatime WakaTime 2.2.1
@ghost ghost added the Needs: Triage Maintainer attention needed! label Nov 4, 2019
@rjmholt rjmholt added Area-Extension Terminal Issue-Bug A bug to squash. and removed Needs: Triage Maintainer attention needed! labels Nov 4, 2019
@rjmholt
Copy link
Contributor

rjmholt commented Nov 4, 2019

Debugging this, the script is executed here.

Eventually this reaches the execution context here.

Finally, watching the console, the indentation seems to occur here.

This last part is really odd. I can't work out why it would happen there unless it's an artefact of async code that's already been run flushing to the console.

@PrzemyslawKlys
Copy link
Contributor Author

This: #1727 can probably be closed because it changed with this new version - but still related on how you handle it.

#2274 some insight in this issue are related to this issue.

@ghost ghost added the Needs: Maintainer Attention Maintainer attention needed! label Nov 6, 2019
@SydneyhSmith SydneyhSmith removed the Needs: Maintainer Attention Maintainer attention needed! label Nov 14, 2019
@SydneyhSmith
Copy link
Collaborator

This should be fixed by: PowerShell/PowerShellEditorServices#1162

@SydneyhSmith SydneyhSmith added the Resolution-Fixed Will close automatically. label Jan 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Extension Terminal Issue-Bug A bug to squash. Resolution-Fixed Will close automatically.
Projects
None yet
Development

No branches or pull requests

3 participants