feat: new no-status.yazi plugin

This commit is contained in:
sxyazi
2024-08-07 06:35:06 +08:00
parent 39f275382e
commit d2e4bb0061
3 changed files with 49 additions and 0 deletions

11
no-status.yazi/init.lua Normal file
View File

@@ -0,0 +1,11 @@
local function setup()
local old_layout = Tab.layout
Status.render = function() return {} end
Tab.layout = function(self, ...)
self._area = ui.Rect { x = self._area.x, y = self._area.y, w = self._area.w, h = self._area.h + 1 }
return old_layout(self, ...)
end
end
return { setup = setup }