aboutsummaryrefslogtreecommitdiff
path: root/config/binds.go
diff options
context:
space:
mode:
Diffstat (limited to 'config/binds.go')
-rw-r--r--config/binds.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/binds.go b/config/binds.go
index 3ddc2578..1d391af7 100644
--- a/config/binds.go
+++ b/config/binds.go
@@ -473,7 +473,7 @@ func FormatKeyStrokes(keystrokes []KeyStroke) string {
for _, stroke := range keystrokes {
s := ""
for name, ks := range keyNames {
- if ks.Modifiers == stroke.Modifiers && ks.Key == stroke.Key {
+ if (ks.Modifiers == stroke.Modifiers || ks.Modifiers == vaxis.ModifierMask(0)) && ks.Key == stroke.Key {
switch name {
case "cr":
s = "<enter>"