Port to latest libmutton development version

This commit is contained in:
2025-05-30 00:38:59 -04:00
parent 5af8caf680
commit 1370f5cd80
5 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -17,7 +17,7 @@ import (
func RenameCli(oldLocationIncomplete string) {
// prompt user for new location and rename
newLocationIncomplete := front.Input("New location:")
err := syncclient.RenameRemoteFromClient(oldLocationIncomplete, newLocationIncomplete, false)
err := syncclient.RenameRemoteFromClient(oldLocationIncomplete, newLocationIncomplete)
if err != nil {
back.PrintError("Failed to rename entry: "+err.Error(), back.ErrorWrite, true)
}
@@ -84,7 +84,7 @@ func editNote(baseNote []string) ([]string, bool) {
}(tempFile.Name())
// fetch the user's text editor
editorCfg, _ := cfg.ParseConfig([][2]string{{"MUTN", "textEditor"}}, "")
editorCfg, _ := cfg.ParseConfig([][2]string{{"MUTN", "textEditor"}})
editor := editorCfg[0]
// write baseNote to tempFile (if it is not empty)
+1 -1
View File
@@ -66,7 +66,7 @@ fieldLoop:
}
if syncEnabled {
_, err := syncclient.RunJob(false, false)
_, err := syncclient.RunJob(false)
if err != nil {
back.PrintError("Failed to sync entries: "+err.Error(), global.ErrorSyncProcess, true)
}