allow people to use other backspace keys

This commit is contained in:
vulpine 2020-07-25 01:06:14 +00:00
parent cf757e29c3
commit e68eafa437
1 changed files with 1 additions and 1 deletions

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