mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-08-31 06:16:33 -04:00
Move text editor determination to cli package
This commit is contained in:
+4
-1
@@ -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)?")
|
||||
|
||||
Reference in New Issue
Block a user