cleanup
This commit is contained in:
1 parent
4c0efdcb41
commit
c071e37316
4 files changed
+9
-10
No files matched your search
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user