shithub: gopher

Download patch

ref: 9c3587ee788ebd99caeab7fb0f9af3c6006e503d
parent: d2dd69c31884b642d5efc11cf1b95b677243d4bd
author: phil9 <[email protected]>
date: Fri Aug 26 19:39:54 EDT 2022

workaround redraw bug

    this is an ugly hack

--- a/gopher.c
+++ b/gopher.c
@@ -937,7 +937,8 @@
 			plmouse(root, mouse);
 			/* BUG: there is a redraw issue when scrolling
 			   This fixes the issue albeit not properly */
-			//pldraw(textp, screen);
+			if(mouse->buttons != 4)
+			 pldraw(textp, screen);
 			break;
 		}
 	}