Move text editor determination to cli package

This commit is contained in:
2024-07-17 14:59:57 -04:00
parent d46a2eddfc
commit e6edc7c336
3 changed files with 33 additions and 1 deletions
+4 -1
View File
@@ -27,7 +27,10 @@ func TempInitCli() {
}
// textEditor
textEditor := input("Text editor (leave blank for $EDITOR, falls back to \"" + backend.FallbackEditor + "\"):")
textEditor := input("Text editor (leave blank for $EDITOR, falls back to \"" + fallbackEditor + "\"):")
if textEditor == "" {
textEditor = textEditorFallback()
}
// SSH info
configSSH := inputBinary("Configure SSH settings (for synchronization)?")