1 parent
184762d83a
commit
fd1af47233
1 file changed
+7
-7
@@ -14,6 +14,13 @@ import (
|
||||
)
|
||||
|
||||
func run() {
|
||||
if err := termbox.Init(); err != nil {
|
||||
log.Fatalf("initializing termbox: %s", err)
|
||||
}
|
||||
defer termbox.Close()
|
||||
|
||||
setColorMode()
|
||||
|
||||
f, err := os.Create(gLogPath)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
@@ -24,13 +31,6 @@ func run() {
|
||||
|
||||
log.Print("hi!")
|
||||
|
||||
if err := termbox.Init(); err != nil {
|
||||
log.Fatalf("initializing termbox: %s", err)
|
||||
}
|
||||
defer termbox.Close()
|
||||
|
||||
setColorMode()
|
||||
|
||||
app := newApp()
|
||||
|
||||
if err := app.nav.readMarks(); err != nil {
|
||||
|
||||
Reference in new issue
Block a user