-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Robert Lin edited this page Jun 26, 2020
·
2 revisions
Committed small changes to fix the "Screen flashing" problem.
Instead of cls
, use:
sys.stdout.write('\x1b[1A'*21) # Move cursor back up 21 lines
Made good progress today. Have successfully converted the CTWC video board state (Jeff's) into numpy matrix. Note you need to get Windows Terminal to properly run the code currently. Windows Terminal supports ANSI escape chars (eg. '\x1b[1A'); PowerShell doesn't natively.
Progress so far: