20 Aug
2024
20 Aug
'24
10:25 p.m.
Hi, On Tue, 20 Aug 2024 17:33:24 -0000 batavinho@mail.com wrote:
Sorry about that guys! The correct value should be 2, not 1. This solved the problem here. I'm on Linux running LXDE desktop environment.
Could you guys test it? [code] void FltkPlatform::copySelection(const char *text) { Fl::copy(text, strlen(text), 2); } [/code]
This still breaks the existing functionality. It may act as a workaround for you, but as Rodrigo mentioned, the correct solution is to implement a better copy feature. In the meantime, you may want to experiment with using the middle-click selection paste feature, its very useful. -Alex