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
widgets

View file

@ -16,7 +16,7 @@ import (
"time"
"github.com/emersion/go-message/mail"
"github.com/gdamore/tcell"
"github.com/gdamore/tcell/v2"
"github.com/mattn/go-runewidth"
"github.com/mitchellh/go-homedir"
"github.com/pkg/errors"