mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
..
This commit is contained in:
parent
8be63811a4
commit
7d1925815d
1 changed files with 2 additions and 2 deletions
|
|
@ -3,8 +3,8 @@ Header = {
|
||||||
}
|
}
|
||||||
|
|
||||||
function Header:cwd(max)
|
function Header:cwd(max)
|
||||||
local text = ya.readable_path(tostring(cx.active.current.cwd)) .. self:flags()
|
local s = ya.readable_path(tostring(cx.active.current.cwd)) .. self:flags()
|
||||||
return ui.Span(ya.truncate(text, { max = max, rtl = true })):style(THEME.manager.cwd)
|
return ui.Span(ya.truncate(s, { max = max, rtl = true })):style(THEME.manager.cwd)
|
||||||
end
|
end
|
||||||
|
|
||||||
function Header:flags()
|
function Header:flags()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue