Skip to content

Paste with Ctrl removes leading special character in SSH #17264

Open
@fbienz

Description

Windows Terminal version

1.20.11271.0

Windows build number

10.0.22631.0

Other Software

openssh-client/jammy-security,now 1:8.9p1-3ubuntu0.6

Steps to reproduce

Connect to remote Linux server via SSH using WSL or Powershell.
Paste a string starting with one of these characters []{} using Ctrl+Shift+v, Ctrl+v or Ctrl+ Right Click.
Example: [rlkdjf[]{}dt

Expected Behavior

Complete String gets pasted into the Shell.
image

Actual Behavior

Leading character and the second character are removed from the String.
image

Using Shift+Insert or Right Click does not remove the leading characters.

This has worked until the latest update (winget package). I'm assuming this is form the 1.20 update.

Metadata

Assignees

No one assigned

    Labels

    Area-VTVirtual Terminal sequence supportIssue-BugIt either shouldn't be doing this or needs an investigation.Needs-Author-FeedbackThe original author of the issue/PR needs to come back and respond to somethingProduct-TerminalThe new Windows Terminal.

    Type

    No type

    Projects

    • Status

      To Cherry Pick
    • Status

      To Cherry Pick

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions