add find commands to find as you type

Related #68
This commit is contained in:
Gokcehan committed 2018-08-22 20:05:22 +03:00
1 parent 0b8de7c77e
commit 011cca76d1
9 files changed
+136 -16

No files matched your search

+1 -1
View File
@@ -168,7 +168,7 @@ func (app *app) loop() {
case d := <-app.nav.dirChan:
prev, ok := app.nav.dirCache[d.path]
if ok {
d.find(prev.name(), app.nav.height)
d.sel(prev.name(), app.nav.height)
}
app.nav.dirCache[d.path] = d