aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--commands/compose/header.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/commands/compose/header.go b/commands/compose/header.go
index 949698e5..59b1caac 100644
--- a/commands/compose/header.go
+++ b/commands/compose/header.go
@@ -56,6 +56,8 @@ func (Header) Execute(aerc *widgets.Aerc, args []string) error {
composer, _ := aerc.SelectedTab().(*widgets.Composer)
+ args[optind] = strings.TrimRight(args[optind], ":")
+
value := strings.Join(args[optind+1:], " ")
if !force {