shithub: riscv

Download patch

ref: 5c95c50c6c470e1b9582998796555e00a6e0d7e5
parent: e7bc98b0571aecebde329651ee0a7409b642686a
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;