zenity/pwd_stub.go
2022-03-24 14:37:37 +00:00

12 lines
238 B
Go

//go:build windows || darwin
package zenity
func password(opts options) (string, string, error) {
if opts.username {
return "", "", ErrUnsupported
}
opts.hideText = true
str, err := entry("Password:", opts)
return "", str, err
}