Mark clear (#190)

* markclear

* Revert "markclear"

This reverts commit 5e3a188618.

* Revert "Revert "markclear""

This reverts commit a7a3bfebbf.

* markclear with arguments

* docs

* reverted some whitepsace

* some inline comments

* additional error handling

* wrong argument case

* consider case when argument specified clears all marks

* code cleanup and removed readMarks from writeMarks

* indentation :/

* discussed changes implemnted

* return readMarks error in sync()

* remove reset marks
This commit is contained in:
Juris Arturs Majors authored and gokcehan committed 2019-06-25 21:38:34 +03:00
1 parent bf39c7c63b
commit 16db95707e
8 files changed
+39 -13

No files matched your search

-4
View File
@@ -181,10 +181,6 @@ func (app *app) loop() {
log.Print("bye!")
if err := app.nav.writeMarks(); err != nil {
log.Printf("writing marks file: %s", err)
}
if err := app.writeHistory(); err != nil {
log.Printf("writing history file: %s", err)
}