diff options
Diffstat (limited to 'commands/msgview/next-part.go')
-rw-r--r-- | commands/msgview/next-part.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/commands/msgview/next-part.go b/commands/msgview/next-part.go index 77eb008d..b5375d75 100644 --- a/commands/msgview/next-part.go +++ b/commands/msgview/next-part.go @@ -2,6 +2,7 @@ package msgview import ( "git.sr.ht/~rjarry/aerc/app" + "git.sr.ht/~rjarry/aerc/commands" ) type NextPrevPart struct { @@ -9,7 +10,11 @@ type NextPrevPart struct { } func init() { - register(NextPrevPart{}) + commands.Register(NextPrevPart{}) +} + +func (NextPrevPart) Context() commands.CommandContext { + return commands.MESSAGE_VIEWER } func (NextPrevPart) Aliases() []string { |