From 5d1f47fa49442dab6b05ce3f772239accbfe2585 Mon Sep 17 00:00:00 2001 From: theimpostor Date: Sun, 28 Jul 2024 21:49:06 -0500 Subject: debug log fix --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index d25666e..681b7b7 100644 --- a/main.go +++ b/main.go @@ -192,7 +192,7 @@ func paste() error { slog.Error(fmt.Sprintf("ReadByte: %v", e)) return nil, e } else { - slog.Debug(fmt.Sprintf("Read: %x '%s'", b, string(b))) + slog.Debug(fmt.Sprintf("Read: %x %q", b, string(b))) // Terminator might be BEL (\a) or ESC-backslash (\x1b\\) if b == '\a' { break -- cgit v1.2.3