diff options
author | Iku <iku@yokattana.com> | 2017-02-07 10:43:01 +0100 |
---|---|---|
committer | Iku <iku@yokattana.com> | 2017-02-07 10:47:14 +0100 |
commit | aed24d7f90dc4769866f24ad01a46b2333949218 (patch) | |
tree | 5bf31d83d54b4aa5a168590ae72179e30604259f /src/maps.c | |
parent | b21f7e879f097d6ba1154446820d6cb26e484c27 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |