Skip to content

Commit

Permalink
fix border
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed May 6, 2020
1 parent eb6cd48 commit edf8bd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ltui/border.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit edf8bd5

Please sign in to comment.