write history to history file on quit

Related #81
This commit is contained in:
Gokcehan committed 2018-07-12 21:22:36 +03:00
1 parent 211bcd0444
commit cdf4fcb810
4 files changed
+82 -2

No files matched your search

+4
View File
@@ -42,6 +42,10 @@ func run() {
app.ui.printf("reading marks file: %s", err)
}
if err := app.readHistory(); err != nil {
app.ui.printf("reading history file: %s", err)
}
app.loop()
}