git: 9front

Download patch

ref: c8fbb727369dd8e614810a6653e399b36f2cb76e
parent: 89f87dd0e3cf8cf4e1472ec2900a8d0f0c676238
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Mar 23 16:17:58 EDT 2016

rio: flushimage() before wscrsleep()

--- a/sys/src/cmd/rio/scrl.c
+++ b/sys/src/cmd/rio/scrl.c
@@ -97,6 +97,8 @@
 	int y, b;
 	static Alt alts[3];
 
+	if(display->bufp > display->buf)
+		flushimage(display, 1);
 	timer = timerstart(dt);
 	y = w->mc.xy.y;
 	b = w->mc.buttons;
--