redraw with control+l
This commit is contained in:
parent
06d9fce20a
commit
e66b4b31cf
1 changed files with 2 additions and 4 deletions
6
nboard
6
nboard
|
@ -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':
|
||||
|
|
Loading…
Reference in a new issue