Commit 2de9b68f authored by Guido van Rossum's avatar Guido van Rossum

Clear the window when receiving a REDRAW event and not playing

parent 00ffea36
......@@ -170,6 +170,8 @@ def process(filename):
if not looping:
while not stop:
dev, val = gl.qread()
if dev == REDRAW:
vin.clear()
if dev == LEFTMOUSE and val == 1:
break # Continue outer loop
if dev == ESCKEY and val == 1 or \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment