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()
|
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':
|
||||||
|
|
Loading…
Reference in a new issue