gitignore

This commit is contained in:
lickthecheese 2020-03-21 16:22:27 -04:00
parent fc19fc6fb6
commit e4277c5937
3 changed files with 20 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
nlong.json

0
README.md Normal file → Executable file
View File

19
nlong Normal file → Executable file
View File

@ -1,3 +1,22 @@
#!/usr/bin/env python3
import curses,time
def main(stdscr):
stdscr.clear()
stdscr.refresh()
k=''
cx = cy = 0
while k != 'q':
k = stdscr.getkey()
height, width = stdscr.getmaxyx()
if k == 'KEY_UP':
cy += -1
if __name__ == "__main__":
curses.wrapper(main)
print('bye!')