cc/bcc: Append to existing headers if called twice

Signed-off-by: Kevin Kuehler <keur@ocf.berkeley.edu>
This commit is contained in:
Kevin Kuehler 2019-08-03 17:23:08 -07:00 committed by Drew DeVault
parent 0847464da1
commit 0ceea02720
2 changed files with 8 additions and 3 deletions
commands/compose

View file

@ -30,9 +30,9 @@ func (_ CC) Execute(aerc *widgets.Aerc, args []string) error {
switch args[0] {
case "cc":
composer.AddEditor("Cc", addrs)
composer.AddEditor("Cc", addrs, true)
case "bcc":
composer.AddEditor("Bcc", addrs)
composer.AddEditor("Bcc", addrs, true)
}
return nil