aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/tabhost.go
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2023-07-04 17:29:38 +0200
committerRobin Jarry <robin@jarry.cc>2023-07-17 10:23:50 +0200
commit801caf812377a5f818aed1b5677c0d667db6b6df (patch)
treece5eeaed72146d90f763952c3b940536d3452102 /widgets/tabhost.go
parent624fb681a8ceeceecb898627503bf6cf73c2c6e8 (diff)
downloadaerc-801caf812377a5f818aed1b5677c0d667db6b6df.tar.gz
compose: factorize body read in a method
In preparation for allowing headers in the text editor, put code related to reading the email body in a method and use it where needed. Never close the email temp file, always keep it opened in read-write mode. This will be also required to update embedded header values when running :edit after modifying email headers from the compose::review screen. Signed-off-by: Robin Jarry <robin@jarry.cc> Tested-by: Bence Ferdinandy <bence@ferdinandy.com> Tested-by: Koni Marti <koni.marti@gmail.com>
Diffstat (limited to 'widgets/tabhost.go')
0 files changed, 0 insertions, 0 deletions