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

Always update status if search process ends #393

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mosquito-magnet
Copy link

If the search process ends with a non-zero exit code, the helm status was never updated. E.g. Grep, Ripgrep and likely more use exit code 1 to indicate that nothing is found, a frequently occurring scenario that left the user wondering if the process is still searching or not.

Now it will always update status if the process is not live anymore.

Fixes #251 (not by adding a waiting status as suggested, but clearly indicating the finished status)

If the search process ends with a non-zero exit code, the helm status
was never updated. E.g. Grep, Ripgrep and likely more use exit code 1 to
indicate that nothing is found, a frequently occurring scenario that
left the user wondering if the process is still searching or not.

Now it will always update status if the process is not live anymore.
Azkae added a commit to Azkae/emacs-helm-ag that referenced this pull request Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Add string "[waiting...]" or ":run" in the modeline
1 participant