From f9d26eef58ce2b9fa1e2443032c17c2ccc6afa36 Mon Sep 17 00:00:00 2001 From: Gregory Mullen Date: Wed, 3 Jul 2019 09:54:10 -0700 Subject: Add IMAP folder tab completion Credit for this fix goes to Reto; I guess if we're not gonna be mutt we should probabaly do things correctly. --- commands/msg/move.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'commands/msg/move.go') diff --git a/commands/msg/move.go b/commands/msg/move.go index 45199b63..c98157e0 100644 --- a/commands/msg/move.go +++ b/commands/msg/move.go @@ -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 (_ Move) Aliases() []string { } func (_ Move) Complete(aerc *widgets.Aerc, args []string) []string { - return nil + return commands.GetFolders(aerc, args) } func (_ Move) Execute(aerc *widgets.Aerc, args []string) error { -- cgit