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

Add ability to cancel a search by pressing CTRL+C (or other combo) while it's in progress #3

Open
haydenflinner opened this issue Jun 24, 2023 · 0 comments

Comments

@haydenflinner
Copy link
Owner

haydenflinner commented Jun 24, 2023

Probably best to do this by making a SlowActionHandler, passing into the actino thread a handle to send it messages. the slow thread can just send messages intot he action quue when it accomplishes things.
There are two use cases:

  1. Pressing CTRL+C to interrupt a search and get back control, to try something else
  2. Exiting the app, i think less handles this by requiring 2 CTRL+Cs
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