Skip to content

Commit fb69004

Browse files
committed
fix: generated passphrase output behaviour
1 parent aba3925 commit fb69004

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

eddy.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,9 @@ func encrypt(cCtx *cli.Context) error {
133133
return fmt.Errorf("failed to generate passphrase; %w", err)
134134
}
135135
fmt.Printf(
136-
format.CondPrefix("🔑 ", "NOTE: using this passphrase: '%s'\n", noEmojiAndColor),
136+
"\r"+format.CondPrefix("🔑 ", "NOTE: using this passphrase: '%s'\n\n", noEmojiAndColor),
137137
password,
138138
)
139-
fmt.Println()
140139
}
141140

142141
err = encryptFiles(paths, outputDir, password, overwrite, noEmojiAndColor)

0 commit comments

Comments
 (0)