Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
unxed opened this issue Mar 4, 2024 · 0 comments
Closed

Comments

@unxed
Copy link
Contributor

unxed commented Mar 4, 2024

  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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant