This commit is contained in:
vilmibm 2020-01-14 15:22:50 -06:00
parent 164064064b
commit 062d4f2367

View file

@ -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 {