aboutsummaryrefslogtreecommitdiffstats
path: root/commands/suspend.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/suspend.go')
-rw-r--r--commands/suspend.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/commands/suspend.go b/commands/suspend.go
index a8996441..52198774 100644
--- a/commands/suspend.go
+++ b/commands/suspend.go
@@ -5,7 +5,11 @@ import "git.sr.ht/~rjarry/aerc/lib/ui"
type Suspend struct{}
func init() {
- register(Suspend{})
+ Register(Suspend{})
+}
+
+func (Suspend) Context() CommandContext {
+ return GLOBAL
}
func (Suspend) Aliases() []string {