launcher: Case-insensitivity
This commit is contained in:
+1
-1
@@ -125,7 +125,7 @@ impl ModuleImpl for Launcher {
|
|||||||
self.matches = self
|
self.matches = self
|
||||||
.options
|
.options
|
||||||
.iter()
|
.iter()
|
||||||
.filter(|x| x.len() >= self.cur.len() && x[0..self.cur.len()] == self.cur)
|
.filter(|x| x.len() >= self.cur.len() && x[0..self.cur.len()].to_lowercase() == self.cur.to_lowercase())
|
||||||
.map(|x| x.to_string())
|
.map(|x| x.to_string())
|
||||||
.collect();
|
.collect();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user