diff options
Diffstat (limited to 'yazi-enter.yazi/main.lua')
| -rw-r--r-- | yazi-enter.yazi/main.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/yazi-enter.yazi/main.lua b/yazi-enter.yazi/main.lua index df02870..b091acb 100644 --- a/yazi-enter.yazi/main.lua +++ b/yazi-enter.yazi/main.lua @@ -139,6 +139,9 @@ local commit = ya.sync(function(_, mode, submitted_query) end local is_dir = target.cha.is_dir local decision = decide_target(mode, is_dir) + if decision == ACTION_ENTER then + ya.emit("enter", {}) + end return 0 end) |