about summary refs log tree commit diff stats
path: root/lib/ui/popover.go
diff options
context:
space:
mode:
authory0ast <joost@joo.st>2020-11-30 22:07:03 +0000
committerReto Brunner <reto@labrat.space>2020-12-18 07:23:22 +0100
commit03650474e2190ef6e54413d433b3d1f63dc9993e (patch)
tree3b6f7df5a249eba9382de495553583795052bc3b /lib/ui/popover.go
parentaf0a2b9a46e5d7f015682ebc1522bd421d7fe3dd (diff)
downloadaerc-03650474e2190ef6e54413d433b3d1f63dc9993e.tar.gz
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.
Diffstat (limited to 'lib/ui/popover.go')
-rw-r--r--lib/ui/popover.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ui/popover.go b/lib/ui/popover.go
index a76f222..7a539de 100644
--- a/lib/ui/popover.go
+++ b/lib/ui/popover.go
@@ -1,6 +1,6 @@
 package ui
 
-import "github.com/gdamore/tcell"
+import "github.com/gdamore/tcell/v2"
 
 type Popover struct {
 	x, y, width, height int