From 03650474e2190ef6e54413d433b3d1f63dc9993e Mon Sep 17 00:00:00 2001 From: y0ast Date: Mon, 30 Nov 2020 22:07:03 +0000 Subject: 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. --- widgets/msgviewer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'widgets/msgviewer.go') diff --git a/widgets/msgviewer.go b/widgets/msgviewer.go index 6c695771..216a8c5e 100644 --- a/widgets/msgviewer.go +++ b/widgets/msgviewer.go @@ -11,7 +11,7 @@ import ( "strings" "github.com/danwakefield/fnmatch" - "github.com/gdamore/tcell" + "github.com/gdamore/tcell/v2" "github.com/google/shlex" "github.com/mattn/go-runewidth" -- cgit