summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authortheimpostor <sahirhoda@gmail.com>2024-07-28 21:49:06 -0500
committertheimpostor <sahirhoda@gmail.com>2024-07-28 21:49:06 -0500
commit5d1f47fa49442dab6b05ce3f772239accbfe2585 (patch)
tree4295bb8d5462561b02bd1840bfb6aac04f5c2525 /main.go
parent710a391fc3de6c3e246750b6b6dfc07811d1afcc (diff)
debug log fix
Diffstat (limited to 'main.go')
-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