aboutsummaryrefslogtreecommitdiffstats
path: root/worker/imap/configure.go
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2023-01-29 15:30:34 +0100
committerRobin Jarry <robin@jarry.cc>2023-02-02 21:48:29 +0100
commit05f218a6122c91c79d131731d65844cf3fa881eb (patch)
tree7581f0bfbebe1ba90b2a7104bc5e851c8f99247c /worker/imap/configure.go
parent17ce7c762cb10ce4272de8ddd45367ba94360456 (diff)
downloadaerc-05f218a6122c91c79d131731d65844cf3fa881eb.tar.gz
viewer: use textproto.WriteHeader
When [ui].show-headers is true, use textproto.WriteHeader instead of manually writing the header values. This allows displaying the original header buffer with on-the-wire format (and with lines wrapped). Signed-off-by: Robin Jarry <robin@jarry.cc> Tested-by: Bence Ferdinandy <bence@ferdinandy.com>
Diffstat (limited to 'worker/imap/configure.go')
0 files changed, 0 insertions, 0 deletions