shithub: ham

Download patch

ref: 9c0a6bb7ee2543794594f3a678f58aa4c702c011
parent: d1bd6137093c00f14bf93ed0fa60434578f17876
author: kvik <kvik@a-b.xyz>
date: Mon May 18 05:32:59 EDT 2020

Missed a file in last commit (tnx moody)

--- a/samterm/main.c
+++ b/samterm/main.c
@@ -232,7 +232,8 @@
 buttons(int updown)
 {
 	while(((mousep->buttons&7)!=0) != updown)
-		getmouse();
+		if(readmouse(mousectl) < 0)
+			panic("mouse");
 }
 
 Rectangle