Clear the window when receiving a REDRAW event and not playing

This commit is contained in:
Guido van Rossum 1992-09-07 15:11:30 +00:00
parent 00ffea3615
commit 2de9b68fea

View file

@ -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 \