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
parent af0a2b9a46
commit 03650474e2
31 changed files with 36 additions and 41 deletions
commands

View file

@ -13,7 +13,7 @@ import (
"git.sr.ht/~sircmpwn/aerc/lib"
"git.sr.ht/~sircmpwn/aerc/models"
"git.sr.ht/~sircmpwn/aerc/widgets"
"github.com/gdamore/tcell"
"github.com/gdamore/tcell/v2"
"github.com/mitchellh/go-homedir"
)