diff --git a/yazi-plugin/preset/plugins/trash.lua b/yazi-plugin/preset/plugins/trash.lua index 79c3e4a8..da19b8cd 100644 --- a/yazi-plugin/preset/plugins/trash.lua +++ b/yazi-plugin/preset/plugins/trash.lua @@ -71,6 +71,7 @@ function M:setup() local ok, err = fs.trash.restore(nodes) if ok then + ya.emit("escape", { select = true }) ya.emit("refresh", {}) else notify("restore", err)