cmd/handsum: append '\n' to base64 output

This commit is contained in:
Nigel Tao committed 2026-06-25 22:22:26 +10:00
1 parent ba25980637
commit 9c6d1dacad
3 files changed
+80 -7

No files matched your search

+1
View File
@@ -203,6 +203,7 @@ func encode(w io.Writer, b64e *base64.Encoding, r io.Reader, color handsum.Color
if b64e != nil {
enc := b64e.AppendEncode(nil, buf.Bytes())
enc = append(enc, '\n')
if _, err := w.Write(enc); err != nil {
return err
}