fix border
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user