mirror of
https://github.com/tmate-io/tmate-ssh-server.git
synced 2020-11-18 19:53:51 -08:00
Fix backspace for 2.2.0
Closes https://github.com/tmate-io/tmate/issues/81
This commit is contained in:
parent
849828ef07
commit
f28f1f99a8
@ -107,6 +107,11 @@ void tmate_client_pane_key(int pane_id, key_code key)
|
||||
return;
|
||||
}
|
||||
|
||||
if (tmate_session->client_protocol_version == 5 && key & KEYC_BASE) {
|
||||
if ((key & KEYC_MASK_KEY) >= (KEYC_BSPACE & KEYC_MASK_KEY))
|
||||
key -= 9;
|
||||
}
|
||||
|
||||
pack(array, 3);
|
||||
pack(int, TMATE_IN_PANE_KEY);
|
||||
pack(int, pane_id);
|
||||
|
Loading…
x
Reference in New Issue
Block a user