Skip to content

Un-snapping Terminal Placing Cursor in Middle of Previous Command's Output #7253

@joshuacookdev

Description

@joshuacookdev

Environment

Windows build number: 10.0.19041.0
Windows Terminal version (if applicable): 1.1.2021.0

Any other software?
* PowerShell Core 7 (also reproducible in other shells)

Steps to reproduce

  1. Snap terminal to the right
  2. (In PS7) Type a command that fills the screen (I used dotnet new --list because I'm checking my installed templates)
    Step2
  3. Unsnap the pane (whether by dragging, maximizing, or double tapping title bar)
  4. Type new command (I used cd to a path I was working within)

Expected behavior

Terminal should display the new input text at the > mark (seen here in stock PowerShell 7).
expectedBehavior

Actual behavior

Terminal is currently displaying the text in the middle of the previous commands output.
actualBehavior

I searched for snap and cursor and couldn't find this explicitly (I found a couple of related issues) - if duplicated or in progress please feel free to delete.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-OutputRelated to output processing (inserting text into buffer, retrieving buffer text, etc.)Issue-BugIt either shouldn't be doing this or needs an investigation.Priority-2A description (P2)Product-TerminalThe new Windows Terminal.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions