blob: f438582f4a1d5aabb7272ba5d47a4ea315274cde (
plain) (
tree)
|
|
package terminal
import (
"git.sr.ht/~sircmpwn/aerc2/commands"
)
var (
TerminalCommands *commands.Commands
)
func register(name string, cmd commands.AercCommand) {
if TerminalCommands == nil {
TerminalCommands = commands.NewCommands()
}
TerminalCommands.Register(name, cmd)
}
|