KiTTY icon indicating copy to clipboard operation
KiTTY copied to clipboard

[Feature Request] Support for OSC 52 (clipboard access)

Open unxed opened this issue 3 years ago • 2 comments

For example,

echo -e "\033]52;c;$(base64 <<< hello)\a"

should send "hello" to clipboard. More detailed explanations:

https://github.com/mintty/mintty/issues/258#issue-85090271 https://bugs.kde.org/show_bug.cgi?id=372116 https://gitlab.gnome.org/GNOME/vte/-/issues/125 https://github.com/microsoft/terminal/issues/2946

unxed avatar Jan 10 '22 09:01 unxed

@MrM40 @systemmonkey42 this issue is separated from #74 as #74 is dedicated to far2l extensions support now

unxed avatar Jan 10 '22 09:01 unxed

The OSC-52 code from the kovidgoyal/kitty seem to be available here: https://github.com/kovidgoyal/kitty/commit/889ca7791244253cb08fbc3eca8883a87fb943a7

Some details on corresponding escape sequences: https://github.com/cyd01/KiTTY/issues/74#issuecomment-757141051

unxed avatar Jan 10 '22 10:01 unxed

Fixed in https://github.com/cyd01/KiTTY/commit/1963f21af2382d72406eb667a70e0cd66a6eb379 Touch https://github.com/cyd01/KiTTY/pull/477

unxed avatar Feb 28 '24 11:02 unxed