aboutsummaryrefslogtreecommitdiffstats
path: root/commands/msg/mark.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msg/mark.go')
-rw-r--r--commands/msg/mark.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/commands/msg/mark.go b/commands/msg/mark.go
index 9547548f..f86c3413 100644
--- a/commands/msg/mark.go
+++ b/commands/msg/mark.go
@@ -2,6 +2,8 @@ package msg
import (
"fmt"
+
+ "git.sr.ht/~rjarry/aerc/commands"
)
type Mark struct {
@@ -13,7 +15,11 @@ type Mark struct {
}
func init() {
- register(Mark{})
+ commands.Register(Mark{})
+}
+
+func (Mark) Context() commands.CommandContext {
+ return commands.MESSAGE
}
func (Mark) Aliases() []string {