1c2dd4c9f1
When checking for an exKey, aerc inspects the key and the rune of the event vs the exkey binding. Runes should only be inspected if the key is a tcell.KeyRune. Some Ctrl-[:alpha:] keys report a rune in tcell, but aerc does not have these bound to the keystroke definition. Only <C-x> has a rune bound, and is one of the very few <C-> keys that can actually be bound to exKey Only compare the Rune field if the key is of type KeyRune. Otherwise, compare the Key. Also compare any modifiers with the keystroke/key event. These changes allow for any control or alt key combination to be bound to the exkey. Update documentaiton to reflect that the default keybind is ':', and not <semicolon> Fixes: https://todo.sr.ht/~rjarry/aerc/67 Signed-off-by: Tim Culverhouse <tim@timculverhouse.com> Acked-by: Robin Jarry <robin@jarry.cc> |
||
---|---|---|
.. | ||
aerc-config.5.scd | ||
aerc-imap.5.scd | ||
aerc-maildir.5.scd | ||
aerc-notmuch.5.scd | ||
aerc-search.1.scd | ||
aerc-sendmail.5.scd | ||
aerc-smtp.5.scd | ||
aerc-stylesets.7.scd | ||
aerc-templates.7.scd | ||
aerc-tutorial.7.scd | ||
aerc.1.scd |