diff options
author | Robin Jarry <robin@jarry.cc> | 2023-10-24 22:24:00 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-10-25 09:25:18 +0200 |
commit | 2d9654df229b97237cd9a9157ac96d89c5ce2630 (patch) | |
tree | 0ef9bef2ba0f490e79edea03f8b3e2580086c989 /CONTRIBUTING.md | |
parent | 4ceafd0b7b71bd934a0f15c1139ed74d0a518b70 (diff) | |
download | aerc-2d9654df229b97237cd9a9157ac96d89c5ce2630.tar.gz |
compose: fix header navigation after :compose -e
When the terminal is closed with [compose].edit-headers=true, all
headers are deleted and recreated based on the email content.
Since the terminal is not active, adding the first header was working
fine, but the next ones were replacing the single entry on each call of
addEditor().
Fix the broken append() logic.
Reported-by: Inwit <inwit@sindominio.net>
Fixes: c2a4fc7fdfae ("compose: avoid panic when deleting the last header")
Changelog-fixed: Selection of headers in composer after `:compose -e`
followed by `:edit -E`.
Signed-off-by: Robin Jarry <robin@jarry.cc>
Tested-by: Inwit <inwit@sindominio.net>
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions