shithub: evdump

Download patch

ref: 2bfb2a53241c5ab1e87674186a59c188e13f0e16
parent: 44cb1c09c1c037d73c4522c4ca2ae0db496ee97d
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Sun Jan 1 12:28:32 EST 2023

print key rune in hex

--- a/evdump.c
+++ b/evdump.c
@@ -135,7 +135,7 @@
 	else
 		snprint(t, sizeof(t), "0x%x", c);
 
-	print("key %s %s: %d %d %d\n", type, t, q.e, q.c, q.r);
+	print("key %s %s: %d %d 0x%ux\n", type, t, q.e, q.c, q.r);
 }
 
 static void