allow people to use other backspace keys

This commit is contained in:
xfnw 2020-07-25 01:06:14 +00:00
parent cf757e29c3
commit e68eafa437

2
nboard
View file

@ -62,7 +62,7 @@ def main(stdscr):
if k == '\n':
vx = nl
vy += 1
if k == 'KEY_BACKSPACE':
if k == 'KEY_BACKSPACE' or k == '\x7f':
vx += -1
# make sure the cursor is on the screen