Skip to content

Garbage characters inserted in editor when double-clicking output text (Windows Terminal 1.25 + Kitty protocol) #2589

@7ampon

Description

@7ampon

What happened?

When double-clicking on terminal output to select/copy text, Unicode replacement characters (�) are inserted into the input editor.

Does not happen on Windows Terminal stable 1.23 (no Kitty protocol support).

Steps to reproduce

  1. Run pi in Windows Terminal Preview 1.25 (first version with Kitty keyboard protocol Implement the Kitty Keyboard Protocol microsoft/terminal#19817)
  2. Let the agent produce some output
  3. Double-click on any text in the output to select it
  4. Notice a bunch of ��� characters appearing in the input editor

Expected behavior

Double-clicking on terminal output to select text should not affect the input editor

Version

0.61.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions