commit 53920f01d87a7a0e4c44488320628bfedc77dc29
parent ceecd65a687989792b00142dcceac15d3f67c541
Author: Sean Enck <sean@ttypty.com>
Date: Sat, 10 Aug 2024 20:27:26 -0400
handle cli spacing around password input on non-pipe input
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/internal/app/rekey.go b/internal/app/rekey.go
@@ -58,9 +58,11 @@ func ReKey(cmd KeyerOptions) error {
return err
}
if !piping {
+ fmt.Println()
if _, err := getNewPassword(piping, first, cmd); err != nil {
return err
}
+ fmt.Println()
}
pass = first
if pass == "" {