mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-08-30 05:46:35 -04:00
Move text editor determination to cli package
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
//go:build windows
|
||||
|
||||
package cli
|
||||
|
||||
const fallbackEditor = "nvim" // since there is no pre-installed CLI editor on Windows, default to the most popular one
|
||||
|
||||
// textEditorFallback returns FallbackEditor
|
||||
func textEditorFallback() string {
|
||||
return fallbackEditor
|
||||
}
|
||||
Reference in New Issue
Block a user