diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-03-30 21:45:41 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-03-30 21:45:41 -0400 |
commit | 5d0402aeea1dcc69adb46227ab1cd73b5e768880 (patch) | |
tree | feac387ac2441d36a8bca272efa182884c11f05c /commands/msgview/msgview.go | |
parent | 04d9ab3ce6b8161ef7bc0ec4e5011f6ceadb73b6 (diff) | |
download | aerc-5d0402aeea1dcc69adb46227ab1cd73b5e768880.zip |
Add message view commands, :close
Diffstat (limited to 'commands/msgview/msgview.go')
-rw-r--r-- | commands/msgview/msgview.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/commands/msgview/msgview.go b/commands/msgview/msgview.go new file mode 100644 index 0000000..e3db828 --- /dev/null +++ b/commands/msgview/msgview.go @@ -0,0 +1,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) +} |