Skip to content

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

Open

Description

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.

Activity

  1. ghost added
    Needs-Triage
    on Aug 12, 2020
  2. ghost added
    Needs-Tag-Fix
    on Aug 12, 2020
  3. joshuacookdev commented on Aug 12, 2020

    @joshuacookdev
    Author

    Looking at it now, it looks like it might be related to #3088 but I don't think it is explicitly the same, since the behavior isn't reproducible in conhost proper.

  4. zadjii-msft commented on Aug 12, 2020

    @zadjii-msft
    Member

    Yea, there's definitely still some sort of intermittent bug with line wrapping. I'm not sure how we get into that state, but it's fairly hard to pin down.

    Generally, I'm tracking all these types of bugs over in #5800, so I'll link this report up with those. Thanks!

  5. added
    Area-Output
    Issue-Bug
    Priority-2
    Product-Terminal
    on Aug 12, 2020
  6. ghost removed
    Needs-Tag-Fix
    on Aug 12, 2020
  7. removed
    Needs-Triage
    on Aug 12, 2020
  8. SpiridonovAlexMoeDelo commented on Nov 16, 2020

    @SpiridonovAlexMoeDelo

    Hi, folks!

    Not sure if my issue related to this one but I have next definitely unexpected behavior:
    terminal-bug

    Requirements:

    1. Terminal have to be full of some text (not reproduced on empty terminal)

    What to do:

    1. Get some command from history and try to edit command

    What expects:

    1. Just editing without any surprises

    What happens:

    1. Suddenly text of command are cloned

    100% reproducing as shown on attached gif in very common using scenario.

  9. zadjii-msft commented on Nov 16, 2021

    @zadjii-msft
    Member

    note to self, from #11745:

    • open terminal
    • dotnet new blazorwasm --help
    • maximize

    is a 100% repro

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-OutputIssue-BugPriority-2Product-Terminal

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions