summaryrefslogtreecommitdiffstats
path: root/src/maps.c
diff options
context:
space:
mode:
authorIku <iku@yokattana.com>2017-02-07 10:43:01 +0100
committerIku <iku@yokattana.com>2017-02-07 10:47:14 +0100
commitaed24d7f90dc4769866f24ad01a46b2333949218 (patch)
tree5bf31d83d54b4aa5a168590ae72179e30604259f /src/maps.c
parentb21f7e879f097d6ba1154446820d6cb26e484c27 (diff)
Allow both backspace codes in any build
Backspace is represented differently on different operating systems. This was previously addressed with OS flags but even between Linux distributions and SSH clients the representation can differ. This commit allows both representations in any build, removing the hack flag.
Diffstat (limited to 'src/maps.c')
-rw-r--r--src/maps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/maps.c b/src/maps.c
index e26f8da..2af883c 100644
--- a/src/maps.c
+++ b/src/maps.c
@@ -260,7 +260,7 @@ void get_mapstr_buf (struct block * b, char * str) {
strcat(str, "<UP>"); // UP
} else if (a->value == OKEY_DEL) {
strcat(str, "<DEL>"); // DEL
- } else if (a->value == OKEY_BS) {
+ } else if (a->value == OKEY_BS || a->value == OKEY_BS2) {
strcat(str, "<BS>"); // BS
} else if (a->value == OKEY_HOME) {
strcat(str, "<HOME>"); // HOME