fix fuzzyFind.

This commit is contained in:
Christopher Jeffrey 2015-04-18 22:18:42 -07:00
parent 6c195dd8a0
commit 2666a008bf

View File

@ -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();
}); });