Port to newest libmutton development version

This commit is contained in:
2024-12-29 16:42:34 -05:00
parent 4933da4c37
commit 6d557a77c2
4 changed files with 8 additions and 7 deletions
+3 -2
View File
@@ -16,7 +16,7 @@ import (
func RenameCli(oldLocationIncomplete string) {
// prompt user for new location and rename
newLocationIncomplete := input("New location:")
sync.RenameRemoteFromClient(oldLocationIncomplete, newLocationIncomplete)
sync.RenameRemoteFromClient(oldLocationIncomplete, newLocationIncomplete, false)
// exit is done from sync.RenameRemoteFromClient
}
@@ -75,7 +75,8 @@ func editNote(baseNote []string) ([]string, bool) {
}(tempFile.Name())
// fetch the user's text editor
editor := core.ParseConfig([][2]string{{"MUTN", "textEditor"}}, "")[0]
editorCfg, _ := core.ParseConfig([][2]string{{"MUTN", "textEditor"}}, "")
editor := editorCfg[0]
// write baseNote to tempFile (if it is not empty)
if len(baseNote) > 0 {