From ad06f5dfb8a658521c855f8c374a58b02227e8fa Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 25 Feb 2022 17:47:49 +0100 Subject: [PATCH] fix: print line after password prompt (#1014) fixes https://github.com/nektos/act/issues/979 --- cmd/secrets.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/secrets.go b/cmd/secrets.go index 20c5f71..25126f1 100644 --- a/cmd/secrets.go +++ b/cmd/secrets.go @@ -26,6 +26,7 @@ func newSecrets(secretList []string) secrets { } else { fmt.Printf("Provide value for '%s': ", secretPairParts[0]) val, err := term.ReadPassword(int(os.Stdin.Fd())) + fmt.Println() if err != nil { log.Errorf("failed to read input: %v", err) os.Exit(1)