aboutsummaryrefslogblamecommitdiffstats
path: root/commands/redraw.go
blob: b43e45e395161d8ded91aec133a35e2e2e1dc4f8 (plain) (tree)





















                                            
package commands

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

type Redraw struct{}

func init() {
	Register(Redraw{})
}

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

func (Redraw) Aliases() []string {
	return []string{"redraw"}
}

func (Redraw) Execute(args []string) error {
	ui.QueueRefresh()
	return nil
}