diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2019-01-20 21:23:17 +0100 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2019-02-07 16:43:51 +0100 |
commit | 37f8df882463431888dbaf205ce3ea6488cf4702 (patch) | |
tree | 4ebb1634d1d0e16ae3d16d56c22e63602ef0efe4 /test/functional/ui/screen.lua | |
parent | ed0e96cd28f870c4a580c9e8ab74340fecc90fcb (diff) | |
download | rneovim-37f8df882463431888dbaf205ce3ea6488cf4702.tar.gz rneovim-37f8df882463431888dbaf205ce3ea6488cf4702.tar.bz2 rneovim-37f8df882463431888dbaf205ce3ea6488cf4702.zip |
UI: implement 'pumblend' option for semi-transparent popupmenu
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.
Diffstat (limited to 'test/functional/ui/screen.lua')
-rw-r--r-- | test/functional/ui/screen.lua | 2 |
1 files changed, 2 insertions, 0 deletions
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) |