shithub: pplay

Download patch

ref: 5f5ba7ed32140f1bd9a35de52a361fd192afcdcd
parent: ef82ceaa8ce0a5665f690c1001595f1c486dce8b
author: qwx <qwx@sciops.net>
date: Fri Feb 3 22:12:45 EST 2023

draw: draw while paused

--- a/draw.c
+++ b/draw.c
@@ -162,7 +162,10 @@
 				draw(viewbg, r, col[Csamp], nil, ZP);
 			unlockdisplay(display);
 			x = (d.pos - views) / T;
+			if(x % 100 == 0)
+				update();
 		}
+		update();
 		qunlock(&lsync);
 	}
 }