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()
if k == '\x1b':
k=""
for i in range(5):
k += stdscr.getkey()
if k == '\x0c':
stdscr.clear()
# detect where to move cursor
if k == 'KEY_UP':