feat: complete mactag.yazi

This commit is contained in:
sxyazi
2024-09-28 22:22:36 +08:00
parent c578505961
commit 0949e7654d
4 changed files with 40 additions and 18 deletions

View File

@@ -18,4 +18,6 @@ local function entry(st)
ya.app_emit("resize", {})
end
return { entry = entry }
local function enabled(st) return st.old ~= nil end
return { entry = entry, enabled = enabled }