fix border

This commit is contained in:
ruki
2020-05-07 22:17:19 +08:00
parent eb6cd4868c
commit edf8bd55d6

View File

@@ -50,13 +50,13 @@ function border:draw(transparent)
-- the left-upper attribute
local attr_ul = curses.color_pair(cornerattr[1], self:background())
if self:background() == cornerattr[1] then
attr_ul = {attr_ul, "standout"}
attr_ul = {attr_ul, "bold"}
end
-- the right-lower attribute
local attr_rl = curses.color_pair(cornerattr[2], self:background())
if self:background() == cornerattr[2] then
attr_rl = {attr_rl, "standout"}
attr_rl = {attr_rl, "bold"}
end
-- the border characters