newline after terminal.ReadPassword

Closes issue .
This commit is contained in:
Pierre Carrier
2015-12-07 21:21:28 +00:00
parent 4a613d0cf2
commit 65ebfe1593

@ -85,6 +85,7 @@ func main() {
if bytes.Compare(cfgContent[:8], []byte{0x53, 0x61, 0x6c, 0x74, 0x65, 0x64, 0x5f, 0x5f}) == 0 {
fmt.Printf("Encryption password: ")
passwd, e := terminal.ReadPassword(syscall.Stdin)
fmt.Printf("\n")
if e != nil {
log.Fatal(e)
}