mirror of
https://git.sr.ht/~sircmpwn/aerc
synced 2024-11-23 16:42:07 +01:00
Add completion for copy
This commit is contained in:
parent
ecc26b53c9
commit
ad0d6319dd
@ -7,6 +7,7 @@ import (
|
||||
"git.sr.ht/~sircmpwn/getopt"
|
||||
"github.com/gdamore/tcell"
|
||||
|
||||
"git.sr.ht/~sircmpwn/aerc/commands"
|
||||
"git.sr.ht/~sircmpwn/aerc/widgets"
|
||||
"git.sr.ht/~sircmpwn/aerc/worker/types"
|
||||
)
|
||||
@ -22,7 +23,7 @@ func (Copy) Aliases() []string {
|
||||
}
|
||||
|
||||
func (Copy) Complete(aerc *widgets.Aerc, args []string) []string {
|
||||
return nil
|
||||
return commands.GetFolders(aerc, args)
|
||||
}
|
||||
|
||||
func (Copy) Execute(aerc *widgets.Aerc, args []string) error {
|
||||
|
Loading…
Reference in New Issue
Block a user