Update yazi and its plugins

This commit is contained in:
Hydroxycarbamide 2025-04-10 15:28:26 +02:00
parent ab39adc2f3
commit 09065ab756
Signed by: Siklos
GPG key ID: C06D07D96997549A
16 changed files with 1805 additions and 113 deletions

View file

@ -1,4 +1,4 @@
--- @since 25.2.7
--- @since 25.2.26
local function setup(_, opts)
local type = opts and opts.type or ui.Border.ROUNDED
@ -6,7 +6,7 @@ local function setup(_, opts)
Tab.build = function(self, ...)
local bar = function(c, x, y)
if x <= 0 or x == self._area.w - 1 then
if x <= 0 or x == self._area.w - 1 or th.mgr.border_symbol ~= "" then
return ui.Bar(ui.Bar.TOP)
end
@ -24,7 +24,7 @@ local function setup(_, opts)
c[3]:pad(ui.Pad.y(1)),
}
local style = THEME.manager.border_style
local style = th.mgr.border_style
self._base = ya.list_merge(self._base or {}, {
ui.Border(ui.Border.ALL):area(self._area):type(type):style(style),
ui.Bar(ui.Bar.RIGHT):area(self._chunks[1]):style(style),