fzy

terminal fuzzy finder picker

git clone https://9o.is/git/fzy.git

commit d19a993344a251feb9c35f4f002071f4a79c5b02
parent a196273f3ab0f224863217ac50ca5916abdfe1d6
Author: John Hawthorn <john.hawthorn@gmail.com>
Date:   Sat, 16 Aug 2014 21:07:50 -0700

Really long candidates should return SCORE_MIN

Diffstat:
Mmatch.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/match.c b/match.c @@ -52,7 +52,7 @@ double calculate_score(const char *needle, const char *haystack, size_t *positio * If it is a valid match it will still be returned, it will * just be ranked below any reasonably sized candidates */ - return 0; + return SCORE_MIN; } score_t match_bonus[m];