aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--widgets/aerc.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/widgets/aerc.go b/widgets/aerc.go
index 8d456b1..17d41a3 100644
--- a/widgets/aerc.go
+++ b/widgets/aerc.go
@@ -148,7 +148,9 @@ func (aerc *Aerc) Event(event tcell.Event) bool {
}
if !incomplete {
aerc.pendingKeys = []config.KeyStroke{}
- if event.Rune() == ':' {
+ if event.Key() == bindings.ExKey.Key &&
+ event.Rune() == bindings.ExKey.Rune {
+
aerc.BeginExCommand()
return true
}