summary refs log tree commit diff stats
path: root/commands/compose
diff options
context:
space:
mode:
authorKevin Kuehler <keur@ocf.berkeley.edu>2019-08-03 17:23:08 -0700
committerDrew DeVault <sir@cmpwn.com>2019-08-07 14:07:22 +0900
commit0ceea02720bcebb7e672b42cc72b2e8ce117ada8 (patch)
tree1bbda14485fe65eef2ce1d8f2ef8ccbdd726fc99 /commands/compose
parent0847464da1da5c2df19e107ee3884ab7996c1756 (diff)
downloadaerc-0ceea02720bcebb7e672b42cc72b2e8ce117ada8.tar.gz
cc/bcc: Append to existing headers if called twice
Signed-off-by: Kevin Kuehler <keur@ocf.berkeley.edu>
Diffstat (limited to 'commands/compose')
-rw-r--r--commands/compose/cc-bcc.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/compose/cc-bcc.go b/commands/compose/cc-bcc.go
index 7bc1f5d..864bb8e 100644
--- a/commands/compose/cc-bcc.go
+++ b/commands/compose/cc-bcc.go
@@ -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