Better detect if fallback editor needs to be used

This commit is contained in:
2024-03-07 23:51:34 -05:00
parent 652ef48dd5
commit 431082f711
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ func TempInitCli() {
}
// 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})
}