mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
.. [no ci]
This commit is contained in:
parent
e1d6530a2f
commit
7a28d9cd4c
1 changed files with 2 additions and 2 deletions
|
|
@ -42,7 +42,7 @@ function Folder:highlighted_name(file)
|
||||||
return spans
|
return spans
|
||||||
end
|
end
|
||||||
|
|
||||||
function Folder:labels(area)
|
function Folder:linemode(area)
|
||||||
local mode = cx.active.conf.linemode
|
local mode = cx.active.conf.linemode
|
||||||
if mode == "none" then
|
if mode == "none" then
|
||||||
return {}
|
return {}
|
||||||
|
|
@ -149,7 +149,7 @@ function Folder:current(area)
|
||||||
markers[#markers + 1] = { i, 3 }
|
markers[#markers + 1] = { i, 3 }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
return utils.flat { ui.List(area, items), self:labels(area), table.unpack(self:markers(area, markers)) }
|
return utils.flat { ui.List(area, items), self:linemode(area), table.unpack(self:markers(area, markers)) }
|
||||||
end
|
end
|
||||||
|
|
||||||
function Folder:preview(area)
|
function Folder:preview(area)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue