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

eliminate keylistener? #23

Open
Benjmhart opened this issue Jul 30, 2019 · 0 comments
Open

eliminate keylistener? #23

Benjmhart opened this issue Jul 30, 2019 · 0 comments

Comments

@Benjmhart
Copy link
Owner

Currently we employ a keylistener for the following reasons:

  1. we need to listen for cut & paste events, and while we can Poll, there is no way to distinguish two cut actions of the same content

However, there are significant downsides:

  1. keylistners make users nervous,
  2. we need to open up ports
  3. we end up managing multiple processes
  4. we depend on iohook, which is not portable

ideally we need to find some kind of callback action we can trigger on a cut or paste - perhaps through xclip?

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

No branches or pull requests

1 participant