aboutsummaryrefslogtreecommitdiffstats
path: root/commands/compose/header.go
Commit message (Collapse)AuthorAgeFilesLines
* commands: implement fuzzy completion for commands and optionskt programs2022-03-071-1/+1
| | | | | | | | Change the option to enable fuzzy completion to be fuzzy-complete, since it's no longer only used for folders Signed-off-by: Kt Programs <ktprograms@gmail.com> Acked-by: Koni Marti <koni.marti@gmail.com>
* go.mod: change base git urlRobin Jarry2021-11-051-2/+2
| | | | | | | I'm not sure what are the implications but it seems required. Link: https://github.com/golang/go/issues/20883 Signed-off-by: Robin Jarry <robin@jarry.cc>
* allow the loading of existing headersReto Brunner2020-11-141-2/+4
|
* compose: use a proper header instead of a string mapReto Brunner2020-11-141-4/+3
| | | | | | | | | | | | | Prior to this commit, the composer was based on a map[string]string. While this approach was very versatile, it lead to a constant encoding / decoding of addresses and other headers. This commit switches to a different model, where the composer is based on a header. Commands which want to interact with it can simply set some defaults they would like to have. Users can overwrite them however they like. In order to get access to the functions generating / getting the msgid go-message was upgraded.
* Implement :header commandRay Ganardi2020-05-011-0/+74
Usage: *header* [-f] <field> [value] Add a new email header. If the header already exists, -f must be specified to replace the given value.