shithub: fork

Download patch

ref: 8d0ed223bd792891070ee3656aef7b1bed074035
parent: 175aafdb14fdd717ca6d6591211b36182fa5fd38
author: qwx <qwx@sciops.net>
date: Wed Jan 7 05:53:52 EST 2026

jamterm: sync with samterm

--- a/sys/src/cmd/jamterm/scroll.c
+++ b/sys/src/cmd/jamterm/scroll.c
@@ -122,8 +122,8 @@
 				sleep(175);
 			}
 			sleep(25);
+			if(nbrecv(mousectl->c, mousectl) < 0)
+				panic("mouse");
 		}
-		if(nbrecv(mousectl->c, mousectl) < 0)
-			panic("mouse");
 	}while(mousectl->buttons & (1 << (but-1)));
 }
--