diff options
author | Robin Jarry <robin@jarry.cc> | 2023-01-29 15:30:34 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-02-02 21:48:29 +0100 |
commit | 05f218a6122c91c79d131731d65844cf3fa881eb (patch) | |
tree | 7581f0bfbebe1ba90b2a7104bc5e851c8f99247c /filters | |
parent | 17ce7c762cb10ce4272de8ddd45367ba94360456 (diff) | |
download | aerc-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 'filters')
0 files changed, 0 insertions, 0 deletions