-
Notifications
You must be signed in to change notification settings - Fork 75
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
Handle clipboard change event? #78
Comments
Hey there, @bit-ranger. AFAIK, clipboard change events are a feature of window managers and not raw clipboard accesses. Windows, for example, has |
its posible https://crates.io/crates/clipboard-master |
@complexspaces Can i start a thread monitor the |
@huangganggui No, that won't work like you want. In theory: you could read the current clipboard value, poll the clipboard every second in a thread, and see if the value has changed but that's pretty inefficient. |
@complexspaces Nice! I will try poll the clipboard every 0.1s in a thread. In my case, efficiency maybe not such important. |
Is there any way to handle clipboard change event?
The text was updated successfully, but these errors were encountered: