Browse Source

fixed trailing lines; print frame numbers

master
valerio 2 years ago
parent
commit
862548418e
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      player.py

+ 6
- 2
player.py 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:

Loading…
Cancel
Save