Update internal/prompter/prompter.go
This commit is contained in:
parent
2d66877d6c
commit
df0aedbe3c
1 changed files with 2 additions and 2 deletions
|
|
@ -137,8 +137,8 @@ func (p *accessiblePrompter) Input(prompt, defaultValue string) (string, error)
|
|||
|
||||
func (p *accessiblePrompter) Password(prompt string) (string, error) {
|
||||
var result string
|
||||
// EchoModeNone and EchoModePassword both result in disabling echo mode
|
||||
// as password masking is outside of VT100 spec.
|
||||
// EchoModePassword is not used as password masking is unsupported in huh.
|
||||
// EchoModeNone and EchoModePassword have the same effect of hiding user input.
|
||||
form := p.newForm(
|
||||
huh.NewGroup(
|
||||
huh.NewInput().
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue