aaf0a0c656
Run `make fmt`. Signed-off-by: Moritz Poldrack <git@moritz.sh> Acked-by: Robin Jarry <robin@jarry.cc>
14 lines
255 B
Go
14 lines
255 B
Go
package terminal
|
|
|
|
import (
|
|
"git.sr.ht/~rjarry/aerc/commands"
|
|
)
|
|
|
|
var TerminalCommands *commands.Commands
|
|
|
|
func register(cmd commands.Command) {
|
|
if TerminalCommands == nil {
|
|
TerminalCommands = commands.NewCommands()
|
|
}
|
|
TerminalCommands.Register(cmd)
|
|
}
|