diff options
| author | David Walter Seikel | 2014-02-01 13:46:30 +1000 |
|---|---|---|
| committer | David Walter Seikel | 2014-02-01 13:46:30 +1000 |
| commit | 8f4d17e8352881c686488f61bf48969461f1e662 (patch) | |
| tree | 71ae23e391bac9e67a1ef069eee3d7608b6374e5 /handlekeys.h | |
| parent | Squeeze things into 80 character lines. (diff) | |
| download | boxes-8f4d17e8352881c686488f61bf48969461f1e662.zip boxes-8f4d17e8352881c686488f61bf48969461f1e662.tar.gz boxes-8f4d17e8352881c686488f61bf48969461f1e662.tar.bz2 boxes-8f4d17e8352881c686488f61bf48969461f1e662.tar.xz | |
Rename some keys and remove special casing of MC Esc digit sequences.
Diffstat (limited to 'handlekeys.h')
| -rw-r--r-- | handlekeys.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/handlekeys.h b/handlekeys.h index 00e6e93..192d96c 100644 --- a/handlekeys.h +++ b/handlekeys.h | |||
| @@ -9,8 +9,7 @@ | |||
| 9 | * See the keys[] array at the top of handlekeys.c for what byte sequences get | 9 | * See the keys[] array at the top of handlekeys.c for what byte sequences get |
| 10 | * translated into what key names. See dumbsh.c for an example of usage. | 10 | * translated into what key names. See dumbsh.c for an example of usage. |
| 11 | * A 0.1 second delay is used to detect the Esc key being pressed, and not Esc | 11 | * A 0.1 second delay is used to detect the Esc key being pressed, and not Esc |
| 12 | * being part of a raw keystroke. As a bonus, Midnight Commander style | 12 | * being part of a raw keystroke. |
| 13 | * "Esc digit" sequences are translated to function keys. | ||
| 14 | * | 13 | * |
| 15 | * handle_keys also tries to decode CSI commands that terminals can send. | 14 | * handle_keys also tries to decode CSI commands that terminals can send. |
| 16 | * Some keystrokes are CSI commands, but those are translated as key sequences | 15 | * Some keystrokes are CSI commands, but those are translated as key sequences |
