aboutsummaryrefslogtreecommitdiffstats
path: root/commands/compose/next-field.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/compose/next-field.go')
-rw-r--r--commands/compose/next-field.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/commands/compose/next-field.go b/commands/compose/next-field.go
index 396c1ce1..6c96cd94 100644
--- a/commands/compose/next-field.go
+++ b/commands/compose/next-field.go
@@ -2,12 +2,17 @@ package compose
import (
"git.sr.ht/~rjarry/aerc/app"
+ "git.sr.ht/~rjarry/aerc/commands"
)
type NextPrevField struct{}
func init() {
- register(NextPrevField{})
+ commands.Register(NextPrevField{})
+}
+
+func (NextPrevField) Context() commands.CommandContext {
+ return commands.COMPOSE
}
func (NextPrevField) Aliases() []string {