aerc

Working clone of aerc-mail.org
git clone git://git.danielmoch.com/aerc.git
Log | Files | Refs | README | LICENSE

commit f47a927ab612200f7fa97fc576802fb3f5e65970
parent 52a97c02aeec3c994d2c10e53b024abeb4e7b337
Author: Drew DeVault <sir@cmpwn.com>
Date:   Fri, 15 Mar 2019 21:54:44 -0400

Fix special key bindings (e.g. <C-d>)

Diffstat:
Mconfig/bindings.go | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/config/bindings.go b/config/bindings.go @@ -50,7 +50,12 @@ func (bindings *KeyBindings) GetBinding( continue } for i, stroke := range input { - if stroke != binding.Input[i] { + if stroke.Key != binding.Input[i].Key { + goto next + } + if stroke.Key == tcell.KeyRune && + stroke.Rune != binding.Input[i].Rune { + goto next } }