-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Description
Hello, thank you for creating this project.
I was wondering how to use a default value.
Something like that produce a hint in gray (abc):
val, err := prompt.New().Ask("Please provide "+label+":").Input("abc", input.WithValidateFunc(validateString))
But I want to enter the default value (abc) without typing...
Is it possible? Trying enter, tab... doesn't seem to work.
Thanks
-- nick
Metadata
Metadata
Assignees
Labels
No labels