Hmm, so it seems aerc depends on a custom tcell fork: https://git.sr.ht/~sircmpwn/aerc/tree/master/go.mod#L48
And it seems Drew reverted a specific commit to support $COLORTERM (which I believe is what is most often used to verify truecolor support):
fish gets really unhappy if I start using
TERM=xterm-truecolor aerc, so it would be very helpful if aerc would depend on the original tcell, instead of the custom fork.
As far as I understand, you can compile
aercwith the original
replace github.com/gdamore/tcell => git.sr.ht/~sircmpwn/tcell v0.0.0-20190807054800-3fdb6bc01a50from
go get github.com/gdamore/tcell@master
It doesn't seem to solve any of the problems, though: both italic and truecolor (without abusing
TERM) still will not function.
I just submitted a patch that fixes truecolor detection by updating tcell: https://lists.sr.ht/~sircmpwn/aerc/patches/11972
Curious to hear if it works for you and perhaps fixes your other problems too!