update tcell to v2 and enable TrueColor support

Also update to the tcell v2 PaletteColor api, which should keep the chosen
theme of the user intact.

Note, that if $TRUECOLOR is defined and a truecolor given, aerc will now stop
clipping the value to one of the theme colors.
Generally this is desired behaviour though.
This commit is contained in:
y0ast 2020-11-30 22:07:03 +00:00 committed by Reto Brunner
commit 03650474e2
31 changed files with 36 additions and 41 deletions
lib/ui

View file

@ -5,7 +5,7 @@ import (
"git.sr.ht/~sircmpwn/aerc/config"
"github.com/gdamore/tcell"
"github.com/gdamore/tcell/v2"
)
type Stack struct {