Skip to content

string is appended to clipboard rather then replacting it (on Ctrl+C in kitty) #2038

@unxed

Description

@unxed
  1. run kovidgoyal's kitty version 0.21.2 (default in Ubuntu 22.04)
  2. run far2l --tty --nodetect
  3. open any non-empty text file in editor
  4. select any line (Home, Shift+End)
  5. press Ctrl+C several times
  6. paste clipboard contents in any non-far2l app

This bug is caused by specific OSC52 handling in old versions of kitty.

Workaround. Another workaround is to use TTYX without TTYXi (TTYXi will be disabled on kitty anyway as kitty has it's own advanced keyboard protocol) or specify clipboard handling command line tools manually.

This bug is not reproduced any more in kitty 26.5 which is included in Ubuntu 23.10.

More info:
kovidgoyal/kitty#995
kovidgoyal/kitty#1951
kovidgoyal/kitty#1432

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions