Skip to content

Commit

Permalink
Fix windows bug
Browse files Browse the repository at this point in the history
  • Loading branch information
quackduck committed Feb 19, 2021
1 parent cd74329 commit 383513a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uniclip.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func main() {
secure = true
os.Args = removeElemFromSlice(os.Args, i) // delete the secure option and run again
fmt.Print("Password: ")
password, _ = terminal.ReadPassword(syscall.Stdin)
password, _ = terminal.ReadPassword(int(syscall.Stdin))
fmt.Println()
main()
return
Expand Down

0 comments on commit 383513a

Please sign in to comment.