Move text editor determination to cli package

This commit is contained in:
2024-07-17 14:59:57 -04:00
parent 7ab0c91c0e
commit 3ae85adc18
3 changed files with 0 additions and 34 deletions
-5
View File
@@ -66,11 +66,6 @@ func WriteConfig(configFileMap map[string]string, append bool) {
// create LIBMUTTON section
libmuttonSection, _ = cfg.NewSection("LIBMUTTON")
// set default textEditor value
if configFileMap["textEditor"] == "" {
configFileMap["textEditor"] = textEditorFallback()
}
}
// write provided configFileMap key-value pairs to the LIBMUTTON section