diff options
author | Vitaly Ovchinnikov <v@postbox.nz> | 2023-06-07 16:39:03 +0300 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-06-10 20:14:54 +0200 |
commit | 8162c5be8f251e985a18928ed1a8cb571df40945 (patch) | |
tree | 4397f7df7f0e12b767b558ffcf239b106d00ad35 /config | |
parent | 3f81c848e794ab979b8abeabc1ff9547552c2d41 (diff) | |
download | aerc-8162c5be8f251e985a18928ed1a8cb571df40945.tar.gz |
bindings: add backspace key
Add `<backspace>` option to bindings, so it can be used to leave the
message view similar to some file managers.
Signed-off-by: Vitaly Ovchinnikov <v@postbox.nz>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'config')
-rw-r--r-- | config/binds.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/binds.go b/config/binds.go index 79369247..55814cd2 100644 --- a/config/binds.go +++ b/config/binds.go @@ -442,6 +442,7 @@ var keyNames = map[string]KeyStroke{ "end": {tcell.ModNone, tcell.KeyEnd, 0}, "insert": {tcell.ModNone, tcell.KeyInsert, 0}, "delete": {tcell.ModNone, tcell.KeyDelete, 0}, + "backspace": {tcell.ModNone, tcell.KeyBackspace2, 0}, "help": {tcell.ModNone, tcell.KeyHelp, 0}, "exit": {tcell.ModNone, tcell.KeyExit, 0}, "clear": {tcell.ModNone, tcell.KeyClear, 0}, |