fix: clear selection after restoring trash files

Signed-off-by: Daniel Castrillon <danielcadev@users.noreply.github.com>
This commit is contained in:
Daniel Castrillon 2026-07-23 13:11:47 -05:00
parent 58f1013348
commit f001039ec7
No known key found for this signature in database

View file

@ -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)