Created
December 30, 2019 10:01
-
-
Save ahl/db3341e0002394124430ccb40dca0c9c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while True: | |
c = getch.getch() | |
if c == 'j': | |
left() | |
elif c == 'k': | |
right() | |
elif c == 'c': | |
break |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment