zenity/pwd_windows.go
2022-05-11 18:19:13 +01:00

12 lines
250 B
Go

package zenity
import "fmt"
func password(opts options) (string, string, error) {
if opts.username {
return "", "", fmt.Errorf("%w: username", ErrUnsupported)
}
opts.hideText = true
str, err := entry("Password:", opts)
return "", str, err
}