lanoxx / tilda

A Gtk based drop down terminal for Linux and Unix
GNU General Public License v2.0
1.28k stars 161 forks source link

Add OSC 52 clipboard-setting support (tmux). #273

Closed fpqc closed 4 years ago

fpqc commented 7 years ago

Hey, I wanted to add support for the OSC 52 control sequence setting the system clipboard/primary selection. Is this something I would need to add into libvte upstream, or could it be done in tilda (and if so, where in the files is tilda parsing OSC ctlseqs)?

I already added support for this in tmux (processing, emitting was already in for a while) and in suckless st (they refused to integrate the patch into mainline because it uses a b64_pton function call (or a replacement thereof)), and they are difficult.

Tilda is the other Terminal emulator I use, and I'd like to add support here as well.

egmontkob commented 7 years ago

VTE's emulation behavior cannot be extended like this by a container application. You'll need to patch VTE. Start with caps.cc, vteseq-n.gperf and vteseq.cc.

lanoxx commented 4 years ago

Closing as VTE related. Please open another issue if VTE has an API that we can use for this.

egmontkob commented 4 years ago

See also https://bugzilla.gnome.org/show_bug.cgi?id=795774.