modify-labels: add completion

This commit is contained in:
Reto Brunner 2019-12-21 16:21:27 +01:00 committed by Drew DeVault
parent 40ceee969b
commit 00263bf866
2 changed files with 37 additions and 1 deletions
commands/msg

View file

@ -4,6 +4,7 @@ import (
"errors"
"time"
"git.sr.ht/~sircmpwn/aerc/commands"
"git.sr.ht/~sircmpwn/aerc/widgets"
"git.sr.ht/~sircmpwn/aerc/worker/types"
"github.com/gdamore/tcell"
@ -20,7 +21,7 @@ func (ModifyLabels) Aliases() []string {
}
func (ModifyLabels) Complete(aerc *widgets.Aerc, args []string) []string {
return nil
return commands.GetLabels(aerc, args)
}
func (ModifyLabels) Execute(aerc *widgets.Aerc, args []string) error {