aboutsummaryrefslogblamecommitdiffstats
path: root/commands/suspend.go
blob: 52198774e6d583b1e71a3c212e29cce7a02b6cc3 (plain) (tree)
1
2
3
4
5
6
7






                                      




                                         





                                   



                                             
package commands

import "git.sr.ht/~rjarry/aerc/lib/ui"

type Suspend struct{}

func init() {
	Register(Suspend{})
}

func (Suspend) Context() CommandContext {
	return GLOBAL
}

func (Suspend) Aliases() []string {
	return []string{"suspend"}
}

func (Suspend) Execute(args []string) error {
	ui.QueueSuspend()
	return nil
}