note
This commit is contained in:
parent
164064064b
commit
062d4f2367
1 changed files with 1 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue