mirror of
https://github.com/tmate-io/tmate.git
synced 2026-01-23 02:24:06 +00:00
Drop the ability to have a list of keys in the prefix in favour of two
separate options, prefix and prefix2. This simplifies the code and gets rid the data options type which was only used for this one option. Also add a -2 flag to send-prefix to send the secondary prefix key, fixing a cause of minor irritation. People who want three prefix keys are out of luck :-).
This commit is contained in:
parent
7f24020cbe
commit
535286c05a
9 changed files with 51 additions and 117 deletions
|
|
@ -188,6 +188,10 @@ key_string_lookup_key(int key)
|
|||
|
||||
*out = '\0';
|
||||
|
||||
/* Handle no key. */
|
||||
if (key == KEYC_NONE)
|
||||
return ("none");
|
||||
|
||||
/*
|
||||
* Special case: display C-@ as C-Space. Could do this below in
|
||||
* the (key >= 0 && key <= 32), but this way we let it be found
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue