Skip to content

Commit

Permalink
Use base64 padding when encoding in the notify kitten
Browse files Browse the repository at this point in the history
Otherwise kitty warns about incomplete base64 data in its stderr
  • Loading branch information
kovidgoyal committed Jan 5, 2025
1 parent c07037b commit daa8e6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kittens/notify/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const ESC_CODE_SUFFIX = "\x1b\\"
const CHUNK_SIZE = 4096

func b64encode(x string) string {
return base64.RawStdEncoding.EncodeToString(utils.UnsafeStringToBytes(x))
return base64.StdEncoding.EncodeToString(utils.UnsafeStringToBytes(x))
}

func check_id_valid(x string) bool {
Expand Down

0 comments on commit daa8e6b

Please sign in to comment.