Guarantee preview/previewClear ordering (#537)

* Use chan struct{} in place of chan bool

* Revert "nav.checkReg now returns a boolean instead of calling nav.preview"

* Guarantee preview/previewClear ordering

* Pass the file path to the cleaner script
This commit is contained in:
neeshy authored and GitHub committed 2020-12-27 04:23:03 +03:00
1 parent 72567c9237
commit 1e94f4533e
9 files changed
+48 -41

No files matched your search

+1
View File
@@ -42,6 +42,7 @@ func run() {
app.ui.echoerrf("reading history file: %s", err)
}
go app.nav.previewLoop(app.ui)
app.loop()
app.ui.screen.Fini()
}