Added exact artist matching

This commit is contained in:
Connor Johnstone
2026-03-05 11:31:53 -05:00
parent 70aedb49f2
commit 2ffdce4fbc
8 changed files with 152 additions and 74 deletions

View File

@@ -8,7 +8,7 @@ use crossterm::{
terminal::{self, ClearType},
};
fn fuzzy_match(query: &str, name: &str) -> bool {
pub fn fuzzy_match(query: &str, name: &str) -> bool {
let name_lower = name.to_lowercase();
let mut chars = name_lower.chars();
for qch in query.chars() {