sync file selection after put
This commit is contained in:
parent
563fae38d2
commit
977f6e287d
5
eval.go
5
eval.go
@ -303,6 +303,11 @@ func (e *callExpr) eval(app *app, args []string) {
|
||||
app.nav.save(false)
|
||||
app.nav.saves = make(map[string]bool)
|
||||
saveFiles(nil, false)
|
||||
if err := sendRemote("send sync"); err != nil {
|
||||
msg := fmt.Sprintf("put: %s", err)
|
||||
app.ui.message = msg
|
||||
log.Printf(msg)
|
||||
}
|
||||
case "clear":
|
||||
if err := saveFiles(nil, false); err != nil {
|
||||
msg := fmt.Sprintf("clear: %s", err)
|
||||
|
Loading…
Reference in New Issue
Block a user