From 95ebf38f3b572d4d4bb5d86f0d6361350cdf9366 Mon Sep 17 00:00:00 2001 From: Michael Anthony Gallo Date: Sun, 18 Feb 2024 18:13:23 -0500 Subject: [PATCH 1/2] Directories added to dirChan no longer trigger checkDir removed unneeded blank line --- app.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/app.go b/app.go index 5b7e344c..a9491610 100644 --- a/app.go +++ b/app.go @@ -379,9 +379,6 @@ func (app *app) loop() { } app.ui.draw(app.nav) case d := <-app.nav.dirChan: - - app.nav.checkDir(d) - if gOpts.dircache { prev, ok := app.nav.dirCache[d.path] if ok { From 9a87cddc687b19f8bc845203b7a27b2e996f2f9b Mon Sep 17 00:00:00 2001 From: Michael Anthony Gallo Date: Sun, 18 Feb 2024 20:04:04 -0500 Subject: [PATCH 2/2] removed possibly looping checkReg call --- app.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/app.go b/app.go index a9491610..98835e0b 100644 --- a/app.go +++ b/app.go @@ -413,8 +413,6 @@ func (app *app) loop() { app.ui.draw(app.nav) case r := <-app.nav.regChan: - app.nav.checkReg(r) - app.nav.regCache[r.path] = r curr, err := app.nav.currFile()