forked from aksdb/CalAnonSync
Fixed compilation on Windows
This commit is contained in:
parent
7ca7675a85
commit
b370513d15
|
@ -29,7 +29,7 @@ func ensurePassword(password *string, name string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
print(name + " password: ")
|
print(name + " password: ")
|
||||||
b, err := terminal.ReadPassword(syscall.Stdin)
|
b, err := terminal.ReadPassword(int(syscall.Stdin))
|
||||||
println()
|
println()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
|
|
Loading…
Reference in New Issue