added history options (#866)
* added history options * sorry forgot to update docs
This commit is contained in:
1 parent
aee5c3371f
commit
da2d8a2979
6 files changed
+15
-2
No files matched your search
@@ -59,8 +59,10 @@ func newApp(ui *ui, nav *nav) *app {
|
||||
}
|
||||
|
||||
func (app *app) quit() {
|
||||
if err := app.writeHistory(); err != nil {
|
||||
log.Printf("writing history file: %s", err)
|
||||
if gOpts.history {
|
||||
if err := app.writeHistory(); err != nil {
|
||||
log.Printf("writing history file: %s", err)
|
||||
}
|
||||
}
|
||||
if !gSingleMode {
|
||||
if err := remote(fmt.Sprintf("drop %d", gClientID)); err != nil {
|
||||
|
||||
Reference in new issue
Block a user