2019-03-31 01:45:41 +00:00
|
|
|
package msgview
|
|
|
|
|
|
|
|
import (
|
2021-11-05 09:19:46 +00:00
|
|
|
"git.sr.ht/~rjarry/aerc/commands"
|
2019-03-31 01:45:41 +00:00
|
|
|
)
|
|
|
|
|
2022-07-31 20:16:40 +00:00
|
|
|
var MessageViewCommands *commands.Commands
|
2019-03-31 01:45:41 +00:00
|
|
|
|
2019-06-27 17:33:11 +00:00
|
|
|
func register(cmd commands.Command) {
|
2019-03-31 01:45:41 +00:00
|
|
|
if MessageViewCommands == nil {
|
|
|
|
MessageViewCommands = commands.NewCommands()
|
|
|
|
}
|
2019-06-27 17:33:11 +00:00
|
|
|
MessageViewCommands.Register(cmd)
|
2019-03-31 01:45:41 +00:00
|
|
|
}
|