shithub: evdump

Download patch

ref: 509836625b98fbe692d14d8e49c3f09accd5f075
parent: 3efad400ef6c9c09b6f439950334d62722e54073
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Sun Jan 1 18:53:26 EST 2023

fix formatting

--- a/evdump.c
+++ b/evdump.c
@@ -281,15 +281,19 @@
 	proccreate(kbproc, nil, mainstacksize);
 	proccreate(wctlproc, nil, mainstacksize);
 
-	for (;;) {
+	for(;;){
 		draw(screen, screen->r, display->black, nil, ZP);
 
-		switch (alt(a)) {
+		switch(alt(a)){
 		case -1:
 			goto end;
 
 		case Cmouse:
-			print("mouse buttons 0x%x x %d y %d\n", m.buttons, m.xy.x, m.xy.y);
+			print(
+				"mouse buttons 0x%x x %d y %d\n",
+				m.buttons,
+				m.xy.x, m.xy.y
+			);
 			break;
 
 		case Cresize: