From 37f8df882463431888dbaf205ce3ea6488cf4702 Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Sun, 20 Jan 2019 21:23:17 +0100 Subject: UI: implement 'pumblend' option for semi-transparent popupmenu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Why? - Because we can. - Because the TUI is just another GUI™ - Because it looks kinda nice, and provides useful context like 1 out of 100 times Complies with "don't pay for what you don't use". Some crashes for resizing were unfolded, add tests for those. --- test/functional/ui/screen.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/functional/ui/screen.lua') diff --git a/test/functional/ui/screen.lua b/test/functional/ui/screen.lua index 69f4a44dd8..038bf48839 100644 --- a/test/functional/ui/screen.lua +++ b/test/functional/ui/screen.lua @@ -1303,6 +1303,8 @@ function Screen:_pprint_attrs(attrs) if f == "foreground" or f == "background" or f == "special" then if Screen.colornames[v] ~= nil then desc = "Screen.colors."..Screen.colornames[v] + else + desc = string.format("tonumber('0x%06x')",v) end end table.insert(items, f.." = "..desc) -- cgit