diff options
author | Robin Jarry <robin@jarry.cc> | 2021-10-25 15:00:43 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2021-10-28 16:21:37 +0200 |
commit | 7a6c808c042bf6f662e6d6b6dba09829a1f9ed15 (patch) | |
tree | f765cba8bfecd83f787e355c688c3ebc78fb7d10 /config/default_styleset | |
parent | 0b19b5e70e408bbaac5555b0b61a9451189406f8 (diff) | |
download | aerc-7a6c808c042bf6f662e6d6b6dba09829a1f9ed15.tar.gz |
bindings: prepare for more modifers
Prepare to support more modifiers in key bindings.
tcell has some premade ctrl-modified keys but not all keys are
supported. Other keys must be explicitly checked with a modifier mask.
Update the KeyStroke type to carry a modifier mask. Update code
accordingly.
No functional change.
Link: https://github.com/gdamore/tcell/blob/master/key.go#L265-L275
Link: https://github.com/gdamore/tcell/blob/master/key.go#L384-L419
Signed-off-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'config/default_styleset')
0 files changed, 0 insertions, 0 deletions