Skip to content

Commit

Permalink
docs: update full border diff after changes in commit #68ffd82 (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
Reledia authored Feb 12, 2024
1 parent 92f325c commit 9369a73
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/tips.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ You can implement a full border for Yazi via the UI plugin.
Copy the [`Manager:render` method](https://github.com/sxyazi/yazi/blob/v0.2.3/yazi-plugin/preset/components/manager.lua) _*only*_ to your `~/.config/yazi/init.lua`, then apply the following patch:

```diff
@@ -10,16 +10,28 @@
})
:split(area)
@@ -18,16 +18,28 @@
function Manager:render(area)
local chunks = self:layout(area)

+ local bar = function(c, x, y)
+ x, y = math.max(0, x), math.max(0, y)
Expand Down

0 comments on commit 9369a73

Please sign in to comment.