aboutsummaryrefslogtreecommitdiffstats
path: root/atuin-client/src/ordering.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--atuin-client/src/ordering.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/atuin-client/src/ordering.rs b/atuin-client/src/ordering.rs
index b6051d15..0bb12c6a 100644
--- a/atuin-client/src/ordering.rs
+++ b/atuin-client/src/ordering.rs
@@ -17,6 +17,7 @@ where
let mut r = res.clone();
let qvec = &query.chars().collect();
r.sort_by_cached_key(|h| {
+ // TODO for fzf search we should sum up scores for each matched term
let (from, to) = match minspan::span(qvec, &(f(h).chars().collect())) {
Some(x) => x,
// this is a little unfortunate: when we are asked to match a query that is found nowhere,