Skip to content

Commit

Permalink
Accept ASCII DEL as backspace
Browse files Browse the repository at this point in the history
This is necessary for some terminals, like the VT100.
  • Loading branch information
TurkeyMcMac committed Mar 9, 2021
1 parent 12e4d96 commit f60d5b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/common-keys.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

/* Cases synonymous with BACKSPACE for our purposes. */
#define CASES_BACKSPACE \
case KEY_BACKSPACE: case '\b': case KEY_DC: case KEY_LEFT:
case KEY_BACKSPACE: case '\b': case KEY_DC: case KEY_LEFT: case '\177':

/* Cases for rightward movement. */
#define CASES_RIGHT case KEY_RIGHT: case 'd': case 'l':
Expand Down
2 changes: 1 addition & 1 deletion src/version.h
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/* The version of the program: */
#define VERSION "0.5.7"
#define VERSION "0.5.8"

0 comments on commit f60d5b3

Please sign in to comment.