diff options
author | Robin Jarry <robin@jarry.cc> | 2022-01-20 13:23:35 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-01-20 13:23:35 +0100 |
commit | b96326517d2f553838795b78d67210f50d0ecc63 (patch) | |
tree | 748596fc924170c8903a9b4c2e54a969a74dc8e8 /config | |
parent | 7f34cab5e57d19953d56ac63820ea153805f6bc0 (diff) | |
download | aerc-b96326517d2f553838795b78d67210f50d0ecc63.tar.gz |
bindings: fix ctrl-h binding not working
For some unknown reason. tcell does not include the ctrl modifier for
the ctrl-h key event.
Fixes: 7a6c808c042b ("bindings: prepare for more modifers")
Fixes: https://todo.sr.ht/~rjarry/aerc/8
Signed-off-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'config')
-rw-r--r-- | config/bindings.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/bindings.go b/config/bindings.go index 62956d7b..b704fa63 100644 --- a/config/bindings.go +++ b/config/bindings.go @@ -284,7 +284,7 @@ func init() { keyNames["c-e"] = KeyStroke{tcell.ModCtrl, tcell.KeyCtrlE, 0} keyNames["c-f"] = KeyStroke{tcell.ModCtrl, tcell.KeyCtrlF, 0} keyNames["c-g"] = KeyStroke{tcell.ModCtrl, tcell.KeyCtrlG, 0} - keyNames["c-h"] = KeyStroke{tcell.ModCtrl, tcell.KeyCtrlH, 0} + keyNames["c-h"] = KeyStroke{tcell.ModNone, tcell.KeyCtrlH, 0} keyNames["c-i"] = KeyStroke{tcell.ModCtrl, tcell.KeyCtrlI, 0} keyNames["c-j"] = KeyStroke{tcell.ModCtrl, tcell.KeyCtrlJ, 0} keyNames["c-k"] = KeyStroke{tcell.ModCtrl, tcell.KeyCtrlK, 0} |