add 'echomsg' and 'echoerr' commands for logging
This commit is contained in:
1 parent
6ec2924b6b
commit
193285a65d
9 files changed
+97
-68
No files matched your search
@@ -34,11 +34,11 @@ func run() {
|
||||
app := newApp()
|
||||
|
||||
if err := app.nav.readMarks(); err != nil {
|
||||
app.ui.printf("reading marks file: %s", err)
|
||||
app.ui.echoerrf("reading marks file: %s", err)
|
||||
}
|
||||
|
||||
if err := app.readHistory(); err != nil {
|
||||
app.ui.printf("reading history file: %s", err)
|
||||
app.ui.echoerrf("reading history file: %s", err)
|
||||
}
|
||||
|
||||
app.loop()
|
||||
|
||||
Reference in new issue
Block a user