mirror of
https://github.com/embarklabs/neo-blessed.git
synced 2025-01-12 20:14:26 +00:00
fix fuzzyFind.
This commit is contained in:
parent
6c195dd8a0
commit
2666a008bf
@ -5134,6 +5134,7 @@ function List(options) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
return self.options.search(function(value) {
|
return self.options.search(function(value) {
|
||||||
|
if (!value) return self.screen.render();
|
||||||
self.select(self.fuzzyFind(value, key.ch === '?'));
|
self.select(self.fuzzyFind(value, key.ch === '?'));
|
||||||
self.screen.render();
|
self.screen.render();
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user