redraw with control+l

This commit is contained in:
xfnw 2021-07-22 15:53:41 -04:00
parent 06d9fce20a
commit e66b4b31cf

6
nboard
View file

@ -30,10 +30,8 @@ def main(stdscr):
height, width = stdscr.getmaxyx() height, width = stdscr.getmaxyx()
if k == '\x1b': if k == '\x0c':
k="" stdscr.clear()
for i in range(5):
k += stdscr.getkey()
# detect where to move cursor # detect where to move cursor
if k == 'KEY_UP': if k == 'KEY_UP':