This commit is contained in:
Gokcehan committed 2021-02-21 17:48:23 +03:00
1 parent 4c0efdcb41
commit c071e37316
4 files changed
+9 -10

No files matched your search

+4 -2
View File
@@ -35,7 +35,9 @@ func run() {
log.Print("hi!")
app := newApp(screen)
ui := newUI(screen)
nav := newNav(ui.wins[0].h)
app := newApp(ui, nav)
if err := app.nav.readMarks(); err != nil {
app.ui.echoerrf("reading marks file: %s", err)
@@ -45,8 +47,8 @@ func run() {
app.ui.echoerrf("reading history file: %s", err)
}
go app.nav.previewLoop(app.ui)
app.loop()
app.ui.screen.Fini()
}