modify-labels: add completion
This commit is contained in:
parent
40ceee969b
commit
00263bf866
2 changed files with 37 additions and 1 deletions
commands/msg
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue