mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-10-27 05:19:58 -04:00
Better detect if fallback editor needs to be used
This commit is contained in:
1 parent
834b37abda
commit
d552f03de1
1 file changed
+1
-1
+1
-1
@@ -17,7 +17,7 @@ func TempInitCli() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// textEditor
|
// textEditor
|
||||||
textEditor := input("Text editor (leave blank for $EDITOR, falls back to \"vi\"):")
|
textEditor := input("Text editor (leave blank for $EDITOR, falls back to \"" + offline.FallbackEditor + "\"):")
|
||||||
|
|
||||||
offline.TempInit(map[string]string{"textEditor": textEditor, "gpgID": gpgID})
|
offline.TempInit(map[string]string{"textEditor": textEditor, "gpgID": gpgID})
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user