fixed trailing lines; print frame numbers

master
valerio 2017-09-27 21:35:08 +02:00
parent c17cdd6e7e
commit 862548418e
1 changed files with 6 additions and 2 deletions

View File

@ -9,8 +9,12 @@ def main():
frames = content.split('[2K')[1:]
try:
print('\n' * 100)
for frame in frames:
print(frame)
for i,frame in enumerate(frames):
print(frame[:-4], flush=True)
print('>', i)
sleep(1/25)
except KeyboardInterrupt: