diff options
Diffstat (limited to 'commands/compose')
-rw-r--r-- | commands/compose/send.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/compose/send.go b/commands/compose/send.go index 73e3e13a..f9faf1b5 100644 --- a/commands/compose/send.go +++ b/commands/compose/send.go @@ -2,6 +2,7 @@ package compose import ( "bytes" + "context" "fmt" "io" "net/url" @@ -147,7 +148,7 @@ func (s Send) Execute(args []string) error { from, rcpts, tab.Name, s.CopyTo, s.Archive, copyToReplied) } - }, func(cmd string) ([]opt.Completion, string) { + }, func(ctx context.Context, cmd string) ([]opt.Completion, string) { var comps []opt.Completion if cmd == "" { comps = append(comps, opt.Completion{Value: "y"}) |