Skip to content

Commit

Permalink
do not print * for password
Browse files Browse the repository at this point in the history
  • Loading branch information
HarrisChu committed Apr 10, 2024
1 parent d29e66a commit 175c28c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -526,8 +526,8 @@ func main() {
pw := promptui.Prompt{
Label: "Password",
AllowEdit: true,
Mask: rune('*'),
HideEntered: true,
Mask: rune(' '),
}
*password, err = pw.Run()
if err != nil {
Expand Down

0 comments on commit 175c28c

Please sign in to comment.