mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
fix: clear selection after restoring trash files
Signed-off-by: Daniel Castrillon <danielcadev@users.noreply.github.com>
This commit is contained in:
parent
58f1013348
commit
f001039ec7
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue