zenity/pwd_stub.go
2021-04-29 16:55:44 +01:00

12 lines
234 B
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
}