allow people to use other backspace keys
This commit is contained in:
parent
cf757e29c3
commit
e68eafa437
1 changed files with 1 additions and 1 deletions
2
nboard
2
nboard
|
@ -62,7 +62,7 @@ def main(stdscr):
|
||||||
if k == '\n':
|
if k == '\n':
|
||||||
vx = nl
|
vx = nl
|
||||||
vy += 1
|
vy += 1
|
||||||
if k == 'KEY_BACKSPACE':
|
if k == 'KEY_BACKSPACE' or k == '\x7f':
|
||||||
vx += -1
|
vx += -1
|
||||||
|
|
||||||
# make sure the cursor is on the screen
|
# make sure the cursor is on the screen
|
||||||
|
|
Loading…
Reference in a new issue