Keruspe / GPaste

Clipboard management system
BSD 2-Clause "Simplified" License
756 stars 54 forks source link

String containing only spaces does not get saved? #415

Closed nfejzic closed 1 year ago

nfejzic commented 1 year ago

When I try to save string containing only spaces it does not get saved to clipboard.

For example: echo " " | gpaste-clipboard does not store the " " string.

Is this expected? Any way to force storing this?

Keruspe commented 1 year ago

Do you have the trimming feature enabled?

nfejzic commented 1 year ago

Do you have the trimming feature enabled?

In my GUI it's off, but I installed GUI and gpaste-client separately through native package manager. I'm using Fedora Workstation 37, package manager is dnf.

image

Is there some other config option to enable or disable it?

Keruspe commented 1 year ago

No, that should be enough.

I'll check