aboutsummaryrefslogtreecommitdiffstats
path: root/config/compose.go
diff options
context:
space:
mode:
authorKoni Marti <koni.marti@gmail.com>2022-07-27 23:39:16 +0200
committerRobin Jarry <robin@jarry.cc>2023-07-17 10:24:10 +0200
commit11e5390fa0acbcc609ca177777548dd2d725afbc (patch)
treef5474f504bc8e36b2356740a5b9e581db6bb4a83 /config/compose.go
parentcf061e1b0b536da1cc401c19af456ea373c47e6e (diff)
downloadaerc-11e5390fa0acbcc609ca177777548dd2d725afbc.tar.gz
compose: implement embedded headers in editor
Implement embedded header mode in the composer widget. To activate it, use set [compose].edit-headers=true in aerc.conf. Signed-off-by: Koni Marti <koni.marti@gmail.com> Signed-off-by: Robin Jarry <robin@jarry.cc> Tested-by: Bence Ferdinandy <bence@ferdinandy.com>
Diffstat (limited to 'config/compose.go')
-rw-r--r--config/compose.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/compose.go b/config/compose.go
index 4b92bddc..37e46f96 100644
--- a/config/compose.go
+++ b/config/compose.go
@@ -16,6 +16,7 @@ type ComposeConfig struct {
EmptySubjectWarning bool `ini:"empty-subject-warning"`
FilePickerCmd string `ini:"file-picker-cmd"`
FormatFlowed bool `ini:"format-flowed"`
+ EditHeaders bool `ini:"edit-headers"`
}
var Compose = new(ComposeConfig)