Skip to content

Cursor placed incorrectly on PowerShell Extension Version 2019.11.0 #2276

Closed

Description

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

Activity

  1. ghost added
    Needs: Triage
    on Nov 4, 2019
  2. added
    Issue-Bug
    and removed
    Needs: Triage
    on Nov 4, 2019
  3. rjmholt commented on Nov 4, 2019

    @rjmholt
    Contributor

    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.

  4. PrzemyslawKlys commented on Nov 6, 2019

    @PrzemyslawKlys
    ContributorAuthor

    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.

  5. ghost added
    Needs: Maintainer Attention
    on Nov 6, 2019
  6. SydneyhSmith commented on Jan 30, 2020

    @SydneyhSmith
    Collaborator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-Extension TerminalIssue-BugResolution-Fixed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions