Skip to content

Commit 7a83065

Browse files
committed
fix build for windows
1 parent 8468c88 commit 7a83065

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ func NewClient(node *Node) Client {
9494
return nil, err
9595
}
9696
} else {
97-
b, err := terminal.ReadPassword(syscall.Stdin)
97+
b, err := terminal.ReadPassword(int(syscall.Stdin))
9898
if err != nil {
9999
return nil, err
100100
}

0 commit comments

Comments
 (0)