bugaevc / wl-clipboard

Command-line copy/paste utilities for Wayland
GNU General Public License v3.0
1.62k stars 60 forks source link

Workaround GTK's CR LF #144

Open lilydjwg opened 2 years ago

lilydjwg commented 2 years ago

GTK will offer text/plain types with line endings transformed from LF to CR LF, causing issues in shell session etc.

GTK won't fix this in GTK3 so let's workaround it: https://gitlab.gnome.org/GNOME/gtk/-/issues/2307

PS: firefox has workaround this too: https://hg.mozilla.org/mozilla-central/rev/372abda7c202