-
What system are you running Yazi on?Linux Wayland What terminal are you running Yazi in?kitty 0.42.0
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Supported in #2782 |
Beta Was this translation helpful? Give feedback.
-
I am having some trouble implementing that solution... local function setup(_,opts)
function Tabs.height() return 0 end
Header:children_add(function()
if #cx.tabs == 0 then return "" end
local spans = {}
for i = 1, #cx.tabs do
spans[#spans + 1] = ui.Span(" " .. i .. " ")
end
spans[cx.tabs.idx]:reverse()
return ui.Line(spans)
end, 9000, Header.RIGHT)
end
return {setup = setup} instead of substituting the newer to the old, i now see both of them active at the same time. what am i doing wrong? |
Beta Was this translation helpful? Give feedback.
-
Are you sure you're using the latest commit with that PR? What's your Yazi
version(`yazi --version`)?
…On Fri, May 23, 2025 at 2:44 AM Felipe Pinto ***@***.***> wrote:
I am having some trouble implementing that solution...
i tried creating a pluging that would set the old tabstyle:
local function setup(_,opts)
function Tabs.height() return 0 end
Header:children_add(function()
if #cx.tabs == 0 then return "" end
local spans = {}
for i = 1, #cx.tabs do
spans[#spans + 1] = ui.Span(" " .. i .. " ")
end
spans[cx.tabs.idx]:reverse()
return ui.Line(spans)
end, 9000, Header.RIGHT)endreturn {setup = setup}
what am i doing wrong?
—
Reply to this email directly, view it on GitHub
<#2780 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEFWFIDQTRZU2FIY4KUCQFT27YLH5AVCNFSM6AAAAAB5PSVMM2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGMRTHAYTENI>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
Supported in #2782