diff options
| author | Teddy Wing | 2018-09-30 14:38:54 +0200 |
|---|---|---|
| committer | Teddy Wing | 2018-09-30 14:38:54 +0200 |
| commit | aebb4a485695fa1911a1e898e18943c02d22b143 (patch) | |
| tree | 321d49bf0d02490c8ef4ca28425480e9081b67ef /example.dkmap | |
| parent | 544bedbd452d6e9448b414aac9be4bfaa8df0d3b (diff) | |
| download | dome-key-map-aebb4a485695fa1911a1e898e18943c02d22b143.tar.bz2 | |
Get `action_map()` parser working
Additionally, fix a problem in `key_code()` when using special key names
that start with the same character (like any of the F keys, or Enter and
Esc). The parser would discard the first character, like in the
`definitions()` parser. Use the same solution here, by wrapping the
parser choices in `try()`s.
Add `Esc` to the test to confirm that it fails not just for the F keys
but for all key names that start similarly.
Diffstat (limited to 'example.dkmap')
0 files changed, 0 insertions, 0 deletions
