emacsorphanage / helm-ag

The silver searcher with helm interface
492 stars 77 forks source link

Always update status if search process ends #393

Open mosquito-magnet opened 1 year ago

mosquito-magnet commented 1 year ago

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)