mirror of
https://github.com/tmate-io/tmate.git
synced 2026-01-23 02:24:06 +00:00
Accept ^? for backspace as well as BSpace.
This commit is contained in:
parent
35ca994ba2
commit
82efcc32ec
1 changed files with 2 additions and 0 deletions
|
|
@ -121,6 +121,8 @@ key_string_lookup_string(const char *string)
|
|||
if (ptr[1] == '\0') {
|
||||
if (ptr[0] == 32)
|
||||
return (0);
|
||||
if (ptr[0] == 63)
|
||||
return (KEYC_BSPACE);
|
||||
if (ptr[0] >= 64 && ptr[0] <= 95)
|
||||
return (ptr[0] - 64);
|
||||
if (ptr[0] >= 97 && ptr[0] <= 122)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue