try fix
parent
e57c3dcd47
commit
215725e8ce
19
main.lua
19
main.lua
|
|
@ -27,24 +27,6 @@ local confirm_remove = function(file)
|
||||||
else
|
else
|
||||||
return "c"
|
return "c"
|
||||||
end
|
end
|
||||||
-- end
|
|
||||||
-- local cand = ya.which({
|
|
||||||
-- cands = {
|
|
||||||
-- { on = "y", desc = "Yes" },
|
|
||||||
-- { on = "n", desc = "No" },
|
|
||||||
-- { on = "a", desc = "All" },
|
|
||||||
-- },
|
|
||||||
-- silent = true,
|
|
||||||
-- })
|
|
||||||
-- if cand == 1 then
|
|
||||||
-- return "y"
|
|
||||||
-- elseif cand == 2 then
|
|
||||||
-- return "n"
|
|
||||||
-- elseif cand == 3 then
|
|
||||||
-- return "a"
|
|
||||||
-- else
|
|
||||||
-- return "c"
|
|
||||||
-- end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
local remove_file = function(file)
|
local remove_file = function(file)
|
||||||
|
|
@ -71,6 +53,7 @@ local remove_file = function(file)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--- @sync entry
|
||||||
return {
|
return {
|
||||||
entry = function()
|
entry = function()
|
||||||
ya.manager_emit("escape", { visual = true })
|
ya.manager_emit("escape", { visual = true })
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue