diff --git a/command/editor.go b/command/editor.go index 178e3d2fa..27f019a00 100644 --- a/command/editor.go +++ b/command/editor.go @@ -172,6 +172,7 @@ func (e *ghEditor) prompt(initialValue string, config *survey.PromptConfig) (int return text, nil } +// This is straight copypasta from survey to get our overriden prompt called.; func (e *ghEditor) Prompt(config *survey.PromptConfig) (interface{}, error) { initialValue := "" if e.Default != "" && e.AppendDefault {