Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clipboard is not persistent #49

Open
yellowhat opened this issue Nov 25, 2024 · 2 comments
Open

Clipboard is not persistent #49

yellowhat opened this issue Nov 25, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@yellowhat
Copy link

Hi,

I am using wl-clipboard-rs 0.9.0 in NixOS.

I have scripts that spin up a terminal, let the user select and wl-copy to copy the value, for example:

foot sh -c "echo asd | wl-copy; sleep 5"

While the new window is open, if I press "Ctrl+Shift+V" asd is correctly pasted.

When the window is closed (after 5sec), the clipboard is empty.

Any suggestions?

Thanks

@YaLTeR
Copy link
Owner

YaLTeR commented Nov 25, 2024

Hm, maybe wl-copy needs to double-fork or something, so it's not closed with the terminal.

@YaLTeR YaLTeR added the enhancement New feature or request label Nov 25, 2024
@yellowhat
Copy link
Author

I am not sure what wl-clipboard does, but it is not a problem with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants