fixed some bugs

This commit is contained in:
lickthecheese 2020-03-21 18:37:02 -04:00
parent 5ca5554795
commit 18db1f8522

8
nboard
View file

@ -10,7 +10,7 @@ data = {}
def main(stdscr):
stdscr.clear()
stdscr.refresh()
k=''
k='NOU'
height, width = stdscr.getmaxyx()
vx = vy = tx = ty = 0
cx = width // 2
@ -97,6 +97,8 @@ def main(stdscr):
if __name__ == "__main__":
curses.wrapper(main)
print('bye!')
try:
curses.wrapper(main)
except KeyboardInterrupt:
print('bye!')