Update yazi-plugin/preset/components/header.lua

Co-authored-by: 三咲雅 · Misaki Masa <sxyazi@gmail.com>
This commit is contained in:
Rolv Apneseth 2024-02-15 14:12:20 +00:00 committed by GitHub
parent a1a4ec31de
commit 0c41fec768
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,7 +14,7 @@ function Header:cwd()
return span:style(THEME.manager.cwd)
end
function Header:selected_count()
function Header:counter()
local selected = #cx.active.selected
local yanked = #cx.yanked
local is_cut = cx.yanked.is_cut