summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
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