aboutsummaryrefslogtreecommitdiffstats
path: root/commands/suspend.go
blob: a8996441d2374af008fa6e662f41d79820e897f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package commands

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

type Suspend struct{}

func init() {
	register(Suspend{})
}

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

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