From e41463e1171bda89d5730164d8216beefa7f9f0c Mon Sep 17 00:00:00 2001 From: Filippo Valsorda Date: Tue, 12 Jul 2022 19:22:01 +0200 Subject: [PATCH] cmd/age: fix autogenerated password log line The newline was dropped in 0ab5c73. --- cmd/age/tui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/age/tui.go b/cmd/age/tui.go index 4a92bc6..f4f3e1f 100644 --- a/cmd/age/tui.go +++ b/cmd/age/tui.go @@ -112,7 +112,7 @@ func withTerminal(f func(in, out *os.File) error) error { func printfToTerminal(format string, v ...interface{}) error { return withTerminal(func(_, out *os.File) error { - _, err := fmt.Fprintf(out, "age: "+format, v...) + _, err := fmt.Fprintf(out, "age: "+format+"\n", v...) return err }) }