Skip to content

Commit

Permalink
removed reedline
Browse files Browse the repository at this point in the history
  • Loading branch information
kernelPanic0x committed Oct 9, 2024
1 parent 585a198 commit ece999b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 193 deletions.
1 change: 0 additions & 1 deletion cli/src/completer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ impl CustomCompletion {

impl Completion for CustomCompletion {
fn get(&self, input: &str) -> Option<String> {
dbg!(WORDLIST.get_completions(input));
WORDLIST.get_completions(input).first().cloned()
}
}
Expand Down
191 changes: 0 additions & 191 deletions cli/src/reedline.rs

This file was deleted.

1 change: 0 additions & 1 deletion src/core/wordlist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ impl Wordlist {
#[cfg(feature = "fuzzy-complete")]
fn fuzzy_complete(&self, partial: &str, words: &[String]) -> Vec<String> {
// We use Jaro-Winkler algorithm because it emphasizes the beginning of a word

use fuzzt::algorithms::JaroWinkler;

let words = words.iter().map(|w| w.as_str()).collect::<Vec<&str>>();
Expand Down

0 comments on commit ece999b

Please sign in to comment.