Skip to content

Copying text from the new rendering engine puts Byte Order Mark invalid character at the start of the clipboard #2406

@grantborthwick

Description

@grantborthwick

Describe the bug

When I copy text and go paste it somewhere else, it is prefixed with a byte order mark (char 65279). This is the same type of issue we used to see in Windows with the copying the cert thumbprint out of the cert manager.

Affected version

GitHub Copilot CLI 1.0.13

Steps to reproduce the behavior

Select text, ctrl + c, then paste somewhere else where you want to use it

Image

Can see BOM character on Get-Clipboard call

Image

While addressing this, it would be great if you made the highlighting in the new ui rendering easier to see - it's much too dark and harder to select specific text than it used to be in the old out-of-the-box windows terminal selection.

Expected behavior

copied text should be exactly what it is, actual: prefixed with BOM character

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions