diff --git a/cmd/recover.go b/cmd/recover.go index e3bd919b..3a695339 100644 --- a/cmd/recover.go +++ b/cmd/recover.go @@ -39,7 +39,7 @@ func runRecoverCmd(cmd *cobra.Command, args []string) error { } // not really a password... huh? - seed, err := getSeed("Enter your recovery seed phrase") + seed, err := getSeed("Enter your recovery seed phrase:") if err != nil { return err } diff --git a/cmd/utils.go b/cmd/utils.go index 7978f78a..b1550a12 100644 --- a/cmd/utils.go +++ b/cmd/utils.go @@ -77,6 +77,9 @@ func getPassword(prompt string) (pass string, err error) { } func getSeed(prompt string) (seed string, err error) { + if inputIsTty() { + fmt.Println(prompt) + } seed, err = stdinPassword() seed = strings.TrimSpace(seed) return