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. --- lib/ui/context.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/ui/context.go') diff --git a/lib/ui/context.go b/lib/ui/context.go index 6bdf76a..7936f35 100644 --- a/lib/ui/context.go +++ b/lib/ui/context.go @@ -3,8 +3,8 @@ package ui import ( "fmt" - "github.com/gdamore/tcell" - "github.com/gdamore/tcell/views" + "github.com/gdamore/tcell/v2" + "github.com/gdamore/tcell/v2/views" "github.com/mattn/go-runewidth" ) -- cgit v1.2.3