aboutsummaryrefslogtreecommitdiff
path: root/commands/msgview/msgview.go
blob: e3db828a7fb293260cd73bd5b4f21e3cd9eb5ef1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package msgview

import (
	"git.sr.ht/~sircmpwn/aerc2/commands"
)

var (
	MessageViewCommands *commands.Commands
)

func register(name string, cmd commands.AercCommand) {
	if MessageViewCommands == nil {
		MessageViewCommands = commands.NewCommands()
	}
	MessageViewCommands.Register(name, cmd)
}